summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2024-05-01patch 9.1.0386: filetype: stylus files not recognizedv9.1.0386Philip H
Problem: filetype: stylus files not recognized Solution: Detect '*.styl' and '*.stylus' as stylus filetype, include indent, filetype and syntax plugin (Philip H) closes: #14656 Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-01translation(es): update spanish menu localizationOleg Zadorozhnyi
closes: #14690 Signed-off-by: Oleg Zadorozhnyi <lesorubshayan@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-01runtime(doc): regenerate helptags (#14695)Philip H
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-01patch 9.1.0385: Vim9: crash with null_class and null_objectv9.1.0385Yegappan Lakshmanan
Problem: Vim9: crash with null_class and null_object (Aliaksei Budavei) Solution: Handle null_class and null_object correctly (Yegappan Lakshmanan) fixes: #14678 closes: #14681 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-01runtime(doc): Add tags about lazyloading of menu (#14688)K.Takata
Close #14672 Also add the `g:` prefix. Signed-off-by: Ken Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-30patch 9.1.0384: tests: vt420 terminfo entry may not be foundv9.1.0384Christian Brabandt
Problem: tests: vt420 terminfo entry may not be found (Shane-XB-Qian) Solution: check existence of terminfo vt420 and infocmp command related: #14595 closes: #14677 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-30patch 9.1.0383: filetype: .out files recognized as tex filesv9.1.0383shane.xb.qian
Problem: filetype: .out files recognized as tex files Solution: Do not set an explicit filetype until it is clear what this should be (shane.xb.qian) closes: #14670 Signed-off-by: shane.xb.qian <shane.qian@foxmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-30patch 9.1.0382: filetype: Kbuild files are not recognizedv9.1.0382Bruno BELANYI
Problem: Kbuild files are not recognized. Solution: Detect Kbuild files as make files. (Bruno Belanyi) closes: #14676 Signed-off-by: Bruno Belanyi <bruno@belanyi.fr> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-29patch 9.1.0381: cbuffer and similar commands don't accept a rangev9.1.0381Christian Brabandt
Problem: cbuffer and similar quickfix and locationlist commands don't accept a range, even so it is documented they should (ilan-schemoul, after 8.1.1241) Solution: Define ex commands with ADDR_LINES instead of ADDR_OTHER fixes: #14638 closes: #14657 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-29runtime(java): Improve the recognition of the "indent" method declarations ↵Aliaksei Budavei
(#14659) There is a flaw in the current implementation that has been exacerbated around v5.2. It lies in the recognition of all three indentation styles simultaneously: a tab, two space, and eight space character(s). With it, it is not uncommon to misidentify various constructs as method declarations when they belong to two-space indented members and other blocks of a type and are offset at eight space characters or a tab from the start of the line. For example, ------------------------------------------------------------ class Test { static String hello() { return "hello"; } public static void main(String[] args) { try { if (args.length > 0) { // FIXME: eight spaces. System.out.println(args[0]); } else { // FIXME: a tab. System.out.println(hello()); } } catch (Exception e) { throw new Error(e); } } } ------------------------------------------------------------ ------------------------------------------------------------ :let g:java_highlight_functions = 'indent' :doautocmd Syntax ------------------------------------------------------------ A better approach is to pick an only indentation style out of all supported styles (so either two spaces _or_ eight spaces _or_ a tab). Note that tabs and spaces can still be mixed, only the leading tab or the leading run of spaces matters for the recognition. And there is no reason to not complement the set of valid styles with any number of spaces from 1 to 8, inclusively. Please proceed with the necessary change as follows: - rename from "indent" to "indent2" for a 2-space run; - rename from "indent" to "indent8" for an 8-space run; - continue to have "indent" for a tab run; - define an "indent" variable with a suffix number denoting the preferred amount of indentation for any other run of spaces [1-8]. As before, this alternative style of recognition of method declarations still does not prescribe naming conventions and still cannot recognise method declarations in nested types that are conventionally indented. The proposed changes also follow suit of "style" in stopping the claiming of constructor and enum constant declarations. Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-29runtime(doc): Fix a typo in usr_30.txtUM-Li
closes: #14662 Signed-off-by: UM-Li <um-li@tuta.io> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-29runtime(jq): remove undefined var s:save_cpoptions and add include settingGodFather
closes: #14661 closes: #14663 Co-authored-by: itchyny <itchyny@cybozu.co.jp> Signed-off-by: GodFather <vito.blog@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-28runtime(asm): missing setlocal in indent plugin (#14658)Marc Sven Schulte
Signed-off-by: Marc Sven Schulte <167623652+msschulte@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-28patch 9.1.0380: Calculating line height for unnecessary amount of linesv9.1.0380Luuk van Baal
Problem: Calculating line height for unnecessary amount of lines with half-page scrolling (zhscn, after 9.1.0280) Solution: Replace "limit_winheight" argument with higher resolution "max" argument to which to limit the calculated line height in plines_m_win() to (Luuk van Baal) fixes: #14650 closes: #14652 Signed-off-by: Luuk van Baal <luukvbaal@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-28runtime(ssa): improve syntax file performance (#14654)ObserverOfTime
fixes: #14653 Signed-off-by: ObserverOfTime <chronobserver@disroot.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-28patch 9.1.0379: There are a few typosv9.1.0379zeertzjq
Problem: There are a few typos Solution: Fix them (zeertzjq) closes: #14655 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-28patch 9.1.0378: Vim9: no comments allowed after class varsv9.1.0378Yegappan Lakshmanan
Problem: Vim9: no comments allowed after class vars (Christian Robinson, after 9.1.376) Solution: Allow trailing comments after class vars (Yegappan Lakshmanan) closes: #14651 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-27runtime(doc): CI: remove trailing white space in documentationChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-27patch 9.1.0377: Formatting text wrong when 'breakindent' is setv9.1.0377Christian Brabandt
Problem: formatting text wrong when 'breakindent' is set (Gary Johnson) Solution: temporarily disable 'breakindent' option when formatting text, so that the breakindent is not wrongly taken into account for the line length fixes: #14630 closes: #14637 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-27runtime(debversions): Add oracular (24.10) as Ubuntu release nameSimon Quigley
closes: #14645 Signed-off-by: Simon Quigley <simon@tsimonq2.net> Signed-off-by: James McCoy <jamessan@jamessan.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-27patch 9.1.0376: Vim9: Trailing commands after class/enum keywords ignoredv9.1.0376Yegappan Lakshmanan
Problem: Vim9: Trailing commands after class/enum keywords ignored Solution: Remove EX_TRLBAR keyword from command definition (Yegappan Lakshmanan) closes: #14649 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-27patch 9.1.0375: tests: 1-second delay after Test_BufEnter_botline()v9.1.0375zeertzjq
Problem: tests: 1-second delay after Test_BufEnter_botline() (after v9.1.0374) Solution: Wipe the created buffers (zeertzjq). closes: #14647 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-27runtime(doc): update helptags for jq syntax (#14646)Philip H
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-26runtime(jq): include syntax, ftplugin and compiler pluginVito
closes: #14619 Signed-off-by: Vito <vito.blog@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-26runtime(doc): fix typo synconcealend -> synconcealed (#14644)Philip H
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-26runtime(comment): include a simple comment toggling pluginMaxim Kim
fixes #14626 closes: #14634 Signed-off-by: Maxim Kim <habamax@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-26runtime(doc): fix typoChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-26patch 9.1.0374: wrong botline in BufEnterv9.1.0374Jaehwang Jung
Problem: When :edit an existing buffer, line('w$') may return a wrong result. Solution: Reset w_valid in curwin_init() (Jaehwang Jung) `do_ecmd()` reinitializes the current window (`curwin_init()`) whose `w_valid` field may have `VALID_BOTLINE` set. Resetting `w_botline` without marking it as invalid makes subsequent `validate_botline()` calls a no-op, thus resulting in wrong `line('w$')` value. closes: #14642 Signed-off-by: Jaehwang Jung <tomtomjhj@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-26CI: ubuntu-toolchain-r/test repository will be removed (#14641)Philip H
* CI: ubuntu-toolchain-r/test repository will be removed The ubuntu-toolchain-r/test PPA will be removed from Ubuntu images. The images rollout process will start on May 6 and take 3-4 days. Mitigation ways The repository can still be added manually in runtime by calling to following commands: sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y sudo apt-get update -y * fixup: add a note what this repo is for Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-26runtime(doc): clarify syntax vs matching mechanismChristian Brabandt
fixes: #14643 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-25runtime(asm): fix undefined variable in indent pluginChristian Brabandt
It's an indent script, so we need to set the b:undo_indent variable instead of the b:undo_ftplugin var. fixes: #14602 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-25patch 9.1.0373: ops.c code uses too many strlen() callsv9.1.0373John Marriott
Problem: ops.c code uses too many strlen() calls Solution: Refactor code and remove more strlen() calls (John Marriott) closes: #14598 Signed-off-by: John Marriott <basilisk@internode.on.net> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-25patch 9.1.0372: Calling CLEAR_FIELD() on the same struct twicev9.1.0372zeertzjq
Problem: Calling CLEAR_FIELD() on the same struct twice. Solution: Remove the second CLEAR_FIELD(). Move the assignment of cookie.sourceing_lnum (zeertzjq). closes: #14627 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-25patch 9.1.0371: Vim9: compile_def_function() still too longv9.1.0371Yegappan Lakshmanan
Problem: Vim9: compile_def_function() still too long Solution: Refactor the code into separate functions (Yegappan Lakshmanan) closes: #14632 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-25translation(sr): Update Serbian messages (#14633)Ivan Pešić
Signed-off-by: Ivan Pešić <27575106+eevan78@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-25patch 9.1.0370: MS-Windows: patch number is zero in installerv9.1.0370RestorerZ
Problem: MS-Windows: patch number is zero in installer (jonathan-b-wiebe) Solution: Set VIM_VERSION_PATCHLEVEL, fix a few typos in the installer (RestorerZ) fixes: #14629 closes: #14635 Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-25runtime(doc): clarify the effect of setting the shell to powershellChristian Brabandt
fixes: #14636 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-24runtime(java): Improve the recognition of the "style" method declarationsAliaksei Budavei
- Request the new regexp engine (v7.3.970) for [:upper:] and [:lower:]. - Recognise declarations of in-line annotated methods. - Recognise declarations of _strictfp_ methods. - Establish partial order for method modifiers as shown in the MethodModifier production; namely, _public_ and friends should be written the leftmost, possibly followed by _abstract_ or _default_, or possibly followed by other modifiers. - Stop looking for parameterisable primitive types (void<?>, int<Object>, etc., are malformed). - Stop looking for arrays of _void_. - Acknowledge the prevailing convention for method names to begin with a small letter and for class/interface names to begin with a capital letter; and, therefore, desist from claiming declarations of enum constants and constructors with javaFuncDef. Rationale: + Constructor is distinct from method: * its (overloaded) name is not arbitrary; * its return type is implicit; * its _throws_ clause depends on indirect vagaries of instance (variable) initialisers; * its invocation makes other constructors of its type hierarchy invoked one by one, concluding with the primordial constructor; * its explicit invocation, via _this_ or _super_, can only appear as the first statement in a constructor (not anymore, see JEP 447); else, its _super_ call cannot appear in constructors of _record_ or _enum_; and neither invocation is allowed for the primordial constructor; * it is not a member of its class, like initialisers, and is never inherited; * it is never _abstract_ or _native_. + Constructor declarations tend to be few in number and merit visual recognition from method declarations. + Enum constants define a fixed set of type instances and more resemble class variable initialisers. Note that the code duplicated for @javaFuncParams is written keeping in mind for g:java_highlight_functions a pending 3rd variant, which would require none of the :syn-cluster added groups. closes: #14620 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-24patch 9.1.0369: Vim9: problem when importing autoloaded scriptsv9.1.0369Ernie Rael
Problem: Vim9: problem when importing autoloaded scripts Solution: In `:def` handle storing to vim9 autoload export (Ernie Rael) Problem occurs when `import autoload ./.../autoload/...`. The autoload in the specified path causes the use of an autoload_prefix which combines with the `import autoload` to create trouble. In `generate_store_var()` `case dest_script` use ISN_STOREEXPORT, when needed, instead of ISN_STORES. When executing ISN_STOREEXPORT, check for autoload_prefix. fixes: #14606 closes: #14615 Signed-off-by: Ernie Rael <errael@raelity.com> Signed-off-by: Christian Brabandt <cb@256bit.org> Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2024-04-24CI: remove microsoft-prod.list repository (#14628)Philip H
This is added by default, and it is often broken, but we don't need anything from it. Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-23patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading ↵v9.1.0368RestorerZ
zeroes Problem: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes for the installer Solution: re-define VIM_VERSION_PATCHLEVEL_STR with leading zeroes, interpret Patchlevel as decimal in Make_mvc.mak (RestorerZ) closes: #14471 Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-23patch 9.1.0367: compile_def_function is too longv9.1.0367Yegappan Lakshmanan
Problem: compile_def_function is too long Solution: Move out the code to compile the body of a function (Yegappan Lakshmanan) closes: #14622 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-22patch 9.1.0366: filetype: ondir files are not recognizedv9.1.0366Jon Parise
Problem: filetype: ondir files are not recognized Solution: Detect '.ondirrc' as ondir filetype (Jon Parise) closes: #14604 Signed-off-by: Jon Parise <jon@indelible.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-22patch 9.1.0365: Crash when typing many keys with D- modifierv9.1.0365zeertzjq
Problem: Crash when typing many keys with D- modifier (after 9.1.0227). Solution: Don't treat a 0x80 byte inside a special sequence as the start of a special sequence (zeertzjq). closes: #14613 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-22patch 9.1.0364: tests: test_vim9_builtin is a bit slowv9.1.0364Yegappan Lakshmanan
Problem: tests: test_vim9_builtin is a bit slow Solution: source tests from a buffer instead of writing and sourcing a file (Yegappan Lakshmanan) closes: #14614 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-22runtime(doc): update documentationRestorerZ
closes: #14616 Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-22CI: change the download URL of "libsodium" (#14618)Restorer
Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-21patch 9.1.0363: tests: test_winfixbuf is a bit slowv9.1.0363Yegappan Lakshmanan
Problem: tests: test_winfixbuf is a bit slow Solution: use defer if possible, reset hidden option, use --not-a-term when starting Vim using system() (Yegappan Lakshmanan) closes: #14611 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-21runtime(astro): Add filetype, syntax and indent pluginPhilip H
related: #14558 closes: #14561 ported from: https://github.com/wuelnerdotexe/vim-astro Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-21patch 9.1.0362: expanding rc config files does not work wellv9.1.0362Christian Brabandt
Problem: expanding rc config files does not work well (Michał Sieroń, after v9.1.0327) Solution: initialize chartab option, required to expand evironment variables fixes: #14597 Co-authored-by: author Signed-off-by: author Signed-off-by: Christian Brabandt <cb@256bit.org>