summaryrefslogtreecommitdiffstats
path: root/runtime
AgeCommit message (Collapse)Author
2024-05-19patch 9.1.0421: filetype: hyprlang files are not recognizedv9.1.0421Riley Bruins
Problem: filetype: hyprlang files are not recognized Solution: recognize 'hypr{land,paper,idle,lock}.conf' files as 'hyprlang' filetype, add hyprlang ftplugin (Riley Bruins) closes: #14803 Signed-off-by: Riley Bruins <ribru17@hotmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-19runtime(dart): add basic dart ftplugin fileRiley Bruins
fixes #14793 closes #14802 Signed-off-by: Riley Bruins <ribru17@hotmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-19runtime(graphql): basic ftplugin file for graphqlRiley Bruins
closes: #14801 Signed-off-by: Riley Bruins <ribru17@hotmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-19runtime(doc): mention comment plugin at :h 'commentstring'Christian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-19runtime(sql): set commentstring for sql files in ftpluginRiley Bruins
closes: #14800 Signed-off-by: Riley Bruins <ribru17@hotmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-19patch 9.1.0420: :browse oldfiles prompts even with single entryv9.1.0420Christian Brabandt
Problem: :browse oldfiles prompts even with single entry Solution: Do not prompt, but edit the file directly, also when using :filter /pat/ browse oldfiles closes: #14794 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-18runtime(doc): clarify why E195 is returnedChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-18runtime(doc): clarify temporary file clean upChristian Brabandt
related: #14770 Co-authored-by: Enno <Konfekt@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-18runtime(matchparen): fix :NoMatchParen not working (#14797)zeertzjq
fixes: neovim/neovim#28828 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-17patch 9.1.0418: Cannot move to previous/next rare wordv9.1.0418Christ van Willegen - van Noort
Problem: Cannot move to previous/next rare word (Colin Kennedy) Solution: Add the ]r and [r motions (Christ van Willegen) fixes: #14773 closes: #14780 Signed-off-by: Christ van Willegen - van Noort <github.com@vanwillegen-vannoort.nl> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-17runtime(sshdconfig): add basic ftplugin file for sshdconfig (#14790)Yinzuo Jiang
Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-17patch 9.1.0417: if_py: find_module has been removed in Python 3.12.0a7v9.1.0417Christian Brabandt
Problem: if_py: find_module has been removed in Python 3.12.0a7 (@Ghost-LZW) Solution: Do not include find_module for Python >= 3.12.0a7 fixes: #14776 closes: #14781 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-17runtime(doc): clarify instal instructions for comment packageChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-16runtime(doc): fix typo in vim9script help file (#14782)jbm950
This commit fixes a typo in the first example of the vim9script help file. Trying to execute the given example before resulted in a "trailing characters" error. Signed-off-by: jbm950 <jmilam343@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-16runtime(doc): Remove trailing spaces (#14784)K.Takata
Fix the issues introduced by #14770.
2024-05-15runtime(doc): clarify {special} argument for shellescape()Enno
closes: #14770 Signed-off-by: Enno <Konfekt@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-15runtime(doc): add missing entries for the keys CTRL-W g<Tab> and <C-Tab>Christian Brabandt
fixes: #14777 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-15runtime(doc): update vi_diff.txt: add default value for 'flash'Cthulhux
The "flash" option was added relatively late and seems to be exclusive to System V. (It's not in 4.4BSD and it's not in V8 UNIX, checked [on TUHS](https://www.tuhs.org/cgi-bin/utree.pl).) The oldest occurrence of `flash` in "a vi" I could find is in SysV R2 for the VAX, where it [defaults to 1](https://github.com/ryanwoodsmall/oldsysv/blob/master/sysvr2-vax/src/cmd/vi/vax/ex_data.c) = on. closes: #14778 Signed-off-by: Cthulhux <github@tuxproject.de> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-13runtime(i3config/swayconfig): allow indented commands (#14757)Josef Litoš
fixes: #14752 Co-authored-by: jamespeapen <jamespeapen@users.noreply.github.com> Signed-off-by: Josef Litoš <54900518+JosefLitos@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-13runtime(python): Fix wrong define regex in ftplugin (#14763)Tom Picton
Signed-off-by: Tom Picton <tom@tompicton.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-13runtime(syntax-tests): Filter out non-Latin-1 characters for syntax tests ↵Aliaksei Budavei
(#14767) Syntax tests are run with the LC_ALL=C environment variable passed to "make". Occasionally, there are CI failures for such test files containing non-Latin-1 characters with error messages pointing to multi-byte characters: https://github.com/vim/vim/actions/runs/8824925004/job/24228298023#step:10:16370 , https://github.com/vim/vim/actions/runs/8840856619/job/24276935260#step:10:16347 , https://github.com/vim/vim/actions/runs/8854043458/job/24316210645#step:10:16362 , https://github.com/vim/vim/actions/runs/8856501136/job/24322848765#step:10:16354 , https://github.com/vim/vim/actions/runs/9038417238/job/24839482152#step:11:16980 . But since the very same unchanged tests pass at other times: https://github.com/vim/vim/actions/runs/8827593571/job/24235935458#step:10:16353 , https://github.com/vim/vim/actions/runs/9065214647/job/24905321661#step:11:17002 ; these failures are unrelated to the nature of syntax tests and should be considered false positives. As a temporary workaround, all bytes of known non-Latin-1 characters can be replaced in memory with an arbitrary ASCII byte (?) by applying a filter > " To ignore part of the dump, provide a "dumps/{filename}.vim" file with > " Vim commands to be applied to both the reference and the current dump, so > " that parts that are irrelevant are not used for the comparison. The result > " is NOT written, thus "term_dumpdiff()" shows the difference anyway. before lines are compared between files. Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-13runtime(netrw): prefer scp over pscpChristian Brabandt
regression introduced in ce2ad9ffd79fe6b2307cd46b9 The current logic is a bit funny, in that it checks for an executable of scp, then pscp and if neither exists, it uses: scp :/ Anyway, let's fall back to the logic used before the above commit. related: #14739 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-12runtime(doc): fix typo in usr_52.txtChristian Brabandt
fixes: #14758 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-11ftplugin(python): E16 fix, async keyword support for define (#14751)Tom Picton
This change includes the following changes: - Fix "E16: Invalid range" when using a count with jump to start/end of class/method - Update define with optional async keyword - Update maintainer email Signed-off-by: Tom Picton <tom@tompicton.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-11runtime(doc): update and remove some invalid linksChristian Brabandt
closes: #14748 Co-authored-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-10translation(it): update translation of xxd manpageAntonio Giovanni Colombo
Signed-off-by: Antonio Giovanni Colombo <azc100@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-10runtime(netrw): Recursively delete directories by default with netrw delete ↵Nir Lichtman
command closes: #14742 Signed-off-by: Nir Lichtman <nir@lichtman.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-10runtime(java): Strive to remain compatible for at least Vim 7.0 (#14744)Aliaksei Budavei
Also: - Limit all look-behind regexp patterns. - Cache regexp capabilities for [:upper:] and [:lower:]. Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-10runtime(java): Stop handpicking syntax groups for @javaTop (#14727)Aliaksei Budavei
* runtime(java): Stop handpicking syntax groups for @javaTop Also: - Remove the obsolete comment for g:java_allow_cpp_keywords. - Remove the commented out groups java\%[Debug\]StringError. - Infer and set the preferred formatting Vim options from the modeline. Since vim-6-0u, non-contained syntax groups can be referred to by using the "contains=TOP..." argument. * Set &encoding and &termencoding to "utf-8" for test files * Limit non-ASCII charset to [§ƒɐɘʬʭΑ-Τα-μ] for test files Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-10patch 9.1.0404: [security] xxd: buffer-overflow with specific flagsv9.1.0404Lennard Hofmann
Problem: [security] xxd: buffer-overflow with specific flags Solution: Correctly calculate the required buffer space (Lennard Hofmann) xxd writes each output line into a global buffer before printing. The maximum size of that buffer was not calculated correctly. This command was crashing in AddressSanitizer: $ xxd -Ralways -g1 -c256 -d -o 9223372036854775808 /etc/passwd This prints a line of 6680 bytes but the buffer only had room for 6549 bytes. If the output from "-b" was colored, the line could be even longer. closes: #14738 Co-authored-by: K.Takata <kentkt@csc.jp> Signed-off-by: Lennard Hofmann <lennard.hofmann@web.de> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-10patch 9.1.0402: filetype: mdd files detected as zsh filetypev9.1.0402Wu, Zhenyu
Problem: filetype: mdd files detected as zsh filetype Solution: detect '*.mdd' files as sh filetype, add links to reference documentation (Wu, Zhenyu) closes: #14741 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-09patch 9.1.0401: filetype: zsh module files are not recognizedv9.1.0401Wu, Zhenyu
Problem: filetype: zsh module files are not recognized Solution: Detect '*.mdh' and '*.epro' as C filetype, '*.mdd' as zsh filetype, determine zsh-modules '*.pro' from from it's content (Wu, Zhenyu) closes: #14737 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-09runtime(netrw): Remove hardcoded private.ppk logic from netrwNir Lichtman
closes: #14739 Signed-off-by: Nir Lichtman <nir@lichtman.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-08runtime(spec): add new items to scripts section in syntax pluginMaxwell G
- %generate_buildrequires — added in RPM 4.15 - %conf — added in RPM 4.18 closes: #14723 Ref: https://rpm-software-management.github.io/rpm/manual/spec.html#build-scriptlets Signed-off-by: author Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-08patch 9.1.0396: filetype: jj files are not recognizedv9.1.0396Gregory Anders
Problem: jj files are not recognized Solution: recognize '*.jjdescription' files as jj filetype (Gregory Anders) See: https://github.com/martinvonz/jj closes: #14733 Signed-off-by: Gregory Anders <greg@gpanders.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-08runtime(netrw): Remove and cleanup Win9x legacy from netrwNir Lichtman
closes: #14732 Signed-off-by: Nir Lichtman <nir@lichtman.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-07runtime(doc): add MsgArea to 'highlight' option descriptionChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-07patch 9.1.0394: Cannot get a list of positions describing a regionv9.1.0394Shougo Matsushita
Problem: Cannot get a list of positions describing a region (Justin M. Keyes, after v9.1.0120) Solution: Add the getregionpos() function (Shougo Matsushita) fixes: #14609 closes: #14617 Co-authored-by: Justin M. Keyes <justinkz@gmail.com> Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-07runtime(cpp): Fix digit separator in syntax script for octals and floatsWu Yongwei
Also fix the incorrect rendering of floats that start with ".". closes: #14724 Signed-off-by: Wu Yongwei <wuyongwei@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-06runtime(sh,zsh): clear $MANPAGER in ftplugin before shelling outD. Ben Knoble
Say you use Vim and set MANPAGER='vim -M +MANPAGER --not-a-term -'; then :{Zs,S}hKeywordPrg (or K) will crap out and spew terminal garbage into less when bash's "help" fails. This was introduced by 2f25e40b1 (runtime: configure keywordpg for some file types (#5566), 2023-08-23) and may be present in other files touched by that commit. Make the "man" invocation sensible by unsetting MANPAGER in the environment. Note that changing MANPAGER for `:terminal` is not needed; Vim within Vim is perfectly fine. closes: #14679 Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-05runtime(doc): Fix typos in help documentsh-east
closes: #14720 Co-authored-by: Christian Clason <c.clason@uni-graz.at> Signed-off-by: h-east <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-04patch 9.1.0393: 'viewdir' not respecting $XDG_CONFIG_HOMEv9.1.0393Christian Brabandt
Problem: 'viewdir' not respecting $XDG_CONFIG_HOME (Danilo Rezende, after v9.1.327) Solution: adjust 'viewdir' option when enabling XDG config mode fixes: #14680 closes: #14708 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-04runtime(doc): correct getscriptinfo() example (#14718)zeertzjq
When "sid" is specified, it returns a List with a single item. Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-03patch 9.1.0391: Vim9: could improve testingv9.1.0391Yegappan Lakshmanan
Problem: Vim9: could improve testing (Ernie Rael) Solution: Support defcompile for test_override() to improve testing (Yegappan Lakshmanan) fixes: #14553 closes: #14712 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-02translation(sr): update Serbian menuOleg Zadorozhnyi
closes: #14669 closes: #10722 Signed-off-by: Oleg Zadorozhnyi <lesorubshayan@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-02translation(sk): update Slovak menuOleg Zadorozhnyi
closes: #14671 closes: #10721 Signed-off-by: Oleg Zadorozhnyi <lesorubshayan@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-02translation(sl): update Slovenian menuOleg Zadorozhnyi
closes: #14673 Signed-off-by: Oleg Zadorozhnyi <lesorubshayan@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-02translation(pt): update Portuguese menuOleg Zadorozhnyi
closes: #10718 closes: #10717 closes: #14674 Signed-off-by: Oleg Zadorozhnyi <lesorubshayan@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-02translation(nl): update Dutch menuOleg Zadorozhnyi
closes: #14682 Signed-off-by: Oleg Zadorozhnyi <lesorubshayan@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-02translation(ko): update Korean menuOleg Zadorozhnyi
closes: #14683 Signed-off-by: Oleg Zadorozhnyi <lesorubshayan@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>