zeertzjq and Damien Lejay
4521f6da7d
vim-patch:1ed2ff7: runtime(m4): Remove m4Type and leftover m4Function in syntax script
...
closes : vim/vim#18223
https://github.com/vim/vim/commit/1ed2ff77d8e936d67c7e984f32f4ebff590cbfd7
Co-authored-by: Damien Lejay <damien@lejay.be >
2025-09-07 21:22:52 +08:00
zeertzjq and Doug Kearns
91fa613fad
vim-patch:6505dc6: runtime(nu): Add new Nushell runtime files
...
See: https://github.com/elkasztano/nushell-syntax-vim
Thanks to Pete Cruz (@Petesta) for promoting this addition.
closes : vim/vim#18208
https://github.com/vim/vim/commit/6505dc69d3a663448045d653112aa52e74894327
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2025-09-07 21:22:12 +08:00
zeertzjq and Damien Lejay
30dc9934a6
vim-patch:efb913a: runtime(m4): Remove m4Function
...
closes : vim/vim#18211
https://github.com/vim/vim/commit/efb913a4f5d2ff07807fd40bda651571174a9589
Co-authored-by: Damien Lejay <damien@lejay.be >
2025-09-07 21:21:33 +08:00
zeertzjq and Damien Lejay
54208da5c4
vim-patch:510ca80: runtime(m4): Improve comments, distinguish them from #-lines
...
closes : vim/vim#18200
https://github.com/vim/vim/commit/510ca80c58088276d8b1744a729f69d34c550566
Co-authored-by: Damien Lejay <damien@lejay.be >
2025-09-06 08:15:37 +08:00
zeertzjq and Rob B
b399a13f70
vim-patch:f1212a7: runtime(python): Do not match contained identifiers as pythonType
...
related: vim/vim#17962
closes : vim/vim#18206
https://github.com/vim/vim/commit/f1212a7b4554f2f544b581f7e819d6ef67c5e9ad
Co-authored-by: Rob B <github@0x7e.net >
2025-09-06 07:08:23 +08:00
zeertzjq and Rob B
665d5d80ac
vim-patch:d2b28dd: runtime(python): add syntax support inside f-strings
...
fixes : vim/vim#14033
closes : vim/vim#17962
https://github.com/vim/vim/commit/d2b28ddfc2a7350c2f63b75d06cc53d17b3a66ff
Co-authored-by: Rob B <github@0x7e.net >
2025-09-06 07:07:34 +08:00
zeertzjq and Damien Lejay
967d226f96
vim-patch:f165798: runtime(m4): update syntax script
...
This change does the following to the M4 syntax script:
- In M4 there are no "strings" in the usual sense. Instead, M4 has
quotes, but the text inside a quoted region is rescanned just like
outside, and quotes can be nested.
- The old m4String region was misleading and removed. A new m4Quoted
region reflects proper quoting semantics.
- Removed a duplicate highlight rule.
- Fixed a typo in a highlight group name (m4builtin → m4Builtin).
- Added a reference link to the POSIX M4 specification.
- Removed outdated maintainer URL.
closes : vim/vim#18192
https://github.com/vim/vim/commit/f165798184dc03895709704df864bd1e43eaf09f
Co-authored-by: Damien Lejay <damien@lejay.be >
2025-09-03 21:28:11 +08:00
zeertzjq and Aliaksei Budavei
b4d21f141c
vim-patch:71149df: runtime(java): Dismiss "g:markdown_fenced_languages" for Java buffers ( #35596 )
...
No support is provided or planned for language recognition
in code snippets of documentation comments. Requesting to
load arbitrary syntax plugins with the aid of the concerned
variable is therefore wasteful in general and erroneous when
paired languages ":syn-include" one another without taking
steps to manage circularity.
related: vim/vim#17308
related: vim/vim#17220
closes : vim/vim#18172
https://github.com/vim/vim/commit/71149dfec502d7489cd7e46c721f891b486bdbf6
Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com >
2025-09-02 08:28:07 +08:00
zeertzjq and Doug Kearns
6eebf30a39
vim-patch:7239d95: runtime(vim): Update base syntax, match :defer command argument ( #35547 )
...
closes : vim/vim#18159
https://github.com/vim/vim/commit/7239d95bf2e35acd2746c933c66677137ac93cfa
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2025-08-30 08:15:01 +08:00
zeertzjq and James McCoy
19f2e5c3eb
vim-patch:b760062: runtime(debversions): Move bullseye, focal, and oracular to "unsupported" ( #35531 )
...
These versions have exited their standard support term as of
- bullseye: 2024-08-14
- focal: 2025-05
- oracular: 2025-07-10
closes : vim/vim#18134
https://github.com/vim/vim/commit/b760062897d6aed4ff9f148a332e36a5bf5ee6f5
Co-authored-by: James McCoy <jamessan@jamessan.com >
2025-08-29 07:23:43 +08:00
zeertzjq and Andis Spriņķis
6014174b71
vim-patch:3571388: runtime(lf): update syntax to support lf version r37 ( #35503 )
...
Adds the lf release 37 specific syntax highlighting changes.
From the PR andis-sprinkis/lf-vim#23 by @CatsDeservePets
closes : vim/vim#18115
https://github.com/vim/vim/commit/3571388ded6fc4e849e7ded3a4e6594d7bb8efaf
Co-authored-by: Andis Spriņķis <andis@sprinkis.com >
2025-08-27 12:23:17 +08:00
zeertzjq and Jon Parise
98407a8b91
vim-patch:99964e2: runtime(python): support 'type's soft keyword form
...
`type` became a soft keyword in Python 3.12. In that form, it is a
statement that declares a type alias:
# type_stmt ::= 'type' identifier [type_params] "=" expression
type Point = tuple[float, float]
To implement support for this, this change does three things:
1. adds a `pythonType` group (linked to `Type`)
2. matches `type` followed by an identifier as `pythonStatement`
3. continues to match `type` in other forms as `pythonBuiltin`
Ref:
- https://docs.python.org/3/reference/lexical_analysis.html#soft-keywords
- https://docs.python.org/3/reference/simple_stmts.html#the-type-statement
closes : vim/vim#18090
https://github.com/vim/vim/commit/99964e2ea704465f25207c519fefb2bb6d6931bb
Co-authored-by: Jon Parise <jon@indelible.org >
2025-08-24 20:09:33 +08:00
zeertzjq and Kevin Pulo
e12eca77ee
vim-patch:e06d81f: runtime(sh): add syntax highlighting support for ${ cmd;} and ${|cmd;}
...
bash 5.3 (released July 2025) added support for ${ cmd;} and
${|cmd;} style command substitution, which is similar (but not
identical) to ksh/mksh.
closes : vim/vim#18084
https://github.com/vim/vim/commit/e06d81fe675794d6e849cfa78e31a78c8001bbe5
Co-authored-by: Kevin Pulo <kevin.pulo@mongodb.com >
2025-08-24 20:09:02 +08:00
zeertzjq and Radu Dineiu
53802da38b
vim-patch:f66674c: runtime(fstab): Added mtab support to fstab syntax.
...
closes : vim/vim#18074
https://github.com/vim/vim/commit/f66674cf429aa1fac79e522b45372d7e3d37a902
Co-authored-by: Radu Dineiu <radu.dineiu@gmail.com >
2025-08-24 20:08:15 +08:00
zeertzjq and Ayan Banerjee
12b6f65283
vim-patch:014d50d: runtime(systemverilog): Add syntax highlighting for 1800-2023 block strings ( #35425 )
...
closes : vim/vim#18056
https://github.com/vim/vim/commit/014d50df80d71ab0adcf9b2e649469945dd3bbc2
Co-authored-by: Ayan Banerjee <ayanbanrj@gmail.com >
2025-08-22 09:26:47 +08:00
zeertzjq and Jon Parise
3d511833ae
vim-patch:2f7e4eb: runtime(python): optimize pythonSync pattern
...
Order the keywords by expected frequency: "def" and "class" are assumed
to be more likely than "async def" in the majority of Python code.
closes : vim/vim#18032
https://github.com/vim/vim/commit/2f7e4eb335df389d73aaeb2ff6879b233c1a293f
Co-authored-by: Jon Parise <jon@indelible.org >
2025-08-20 07:24:35 +08:00
zeertzjq and WuJunkai2004
ba25f3e4d4
vim-patch:9.1.1647: filetype: Cangjie files are not recognized
...
Problem: filetype: Cangjie files are not recognized
Solution: Detect *.cj files as cangjie filetype, include a syntax plugin
(WuJunkai2004)
This commit introduces a new syntax highlighting file for the Cangjie
programming language, includes 4 parts as required:
- The main syntax file: runtime/syntax/cangjie.vim
- The filetype detection rule in: runtime/filetype.vim
- The documentation update in: runtime/doc/syntax.txt
- Some menus
References:
- https://gitcode.com/Cangjie
- https://cangjie-lang.cn/
fixes: 18014
closes : vim/vim#18027
https://github.com/vim/vim/commit/0c4405a6b2bc4d93c127e1b66da1b93dcfbbe3db
Co-authored-by: WuJunkai2004 <wujunkai20041123@outlook.com >
2025-08-20 07:23:49 +08:00
zeertzjq and 毛逸宁
35a7642647
vim-patch:3cee950: runtime(diff): fix mixed translations in zh_CN ( #35362 )
...
some translations confused zh_CN and zh_TW
https://github.com/vim/vim/commit/3cee950fc9f8cdcfe3f168fe83072b2a9eb15d47
Co-authored-by: 毛逸宁 <mao.yining@outlook.com >
2025-08-17 18:33:29 +08:00
zeertzjq and Jon Parise
d19d2b4491
vim-patch:1ee1d9b: runtime(python): highlight "self" and "cls" in syntax script ( #35328 )
...
These are special names by convention, and giving them distinct
highlighting is a nice visual clue (using Identifier by default).
This group is named "pythonClassVar" to match the name used by
python-syntax. Some third-party color schemes are aware of this
name and customized their colors accordingly.
closes : vim/vim#17968
https://github.com/vim/vim/commit/1ee1d9b43da37b157a91662a312415e4db400ba9
Co-authored-by: Jon Parise <jon@indelible.org >
2025-08-14 08:36:24 +08:00
zeertzjq and Jon Parise
e6e1e71abf
vim-patch:dba9eb4: runtime(python): Also sync syntax at 'async def' ( #35309 )
...
A file containing only async functions (`async def func()`) wouldn't
previously match the pythonSync pattern.
Also, this pattern only matches at the beginning of the line, so it
won't ever match method definitions (which are indented within class
scopes). Update the comment accordingly.
closes : vim/vim#17963
https://github.com/vim/vim/commit/dba9eb46e622efe39331b75d0c57c5d8b61b526f
Co-authored-by: Jon Parise <jon@indelible.org >
2025-08-12 20:11:38 +08:00
zeertzjq and Rob B
39af96c8ef
vim-patch:a94a055: runtime(python): Highlight f-string replacement fields in Python
...
Highlight f-string replacement fields, including
- Comments
- Debugging flags
- Conversion fields
- Format specifications
- Delimiters
Syntax inside fields will be addressed in a separate commit.
related: vim/vim#10734
related: vim/vim#14033
closes : vim/vim#17784
https://github.com/vim/vim/commit/a94a0555d911da0d3bcd7e91d76c8e8ef03d9b0e
Co-authored-by: Rob B <github@0x7e.net >
2025-08-11 07:01:27 +08:00
zeertzjq and Jon Parise
82a54a772b
vim-patch:48b7eb1: runtime(python): Highlight classes as structures
...
Class and function definitions previously shared a single highlight
group (pythonFunction). This change gives classes their own highlight
group (pythonClass) that's linked to Structure.
closes : vim/vim#17856
https://github.com/vim/vim/commit/48b7eb1ceb16527640ce5853d876c432d7342532
Co-authored-by: Jon Parise <jon@indelible.org >
2025-08-11 07:00:50 +08:00
zeertzjq and D. Ben Knoble
d395dc9d38
vim-patch:7270a5a: runtime(racket): update Racket runtime files
...
This brings the upstream files to commit 9dc3bd3 (ftplugin: escape Vim
special characters when opening docs, 2025-08-09). Note that not all
upstream files are included.
closes : vim/vim#17956
https://github.com/vim/vim/commit/7270a5a8431e0209043f14dd3fa3ea479e4cddc6
Co-authored-by: D. Ben Knoble <ben.knoble+github@gmail.com >
2025-08-11 07:00:28 +08:00
zeertzjq and Aliaksei Budavei
acc55f6fed
vim-patch:7132935: runtime(java): Manage byte limits for variable-width lookbehind assertions
...
Raise the byte limits from 80 to 120 for "javaFuncDef" and
"java*CommentTitle"; and support selecting other arbitrary
values with
------------------------------------------------------------
let g:java_lookbehind_byte_counts = {
\ 'javaMarkdownCommentTitle': 240,
\ }
------------------------------------------------------------
for related groups of syntax definitions, referring to their
names with dictionary keys.
Over-80-Byte-Limit Lookbehind Examples:
https://raw.githubusercontent.com/openjdk/jdk/refs/tags/jdk-24%2B36/src/java.base/share/classes/sun/security/x509/NamedX509Key.java [Lines 43 & 44]
https://raw.githubusercontent.com/openjdk/jdk/refs/tags/jdk-24%2B36/src/jdk.compiler/share/classes/com/sun/tools/javac/util/GraphUtils.java [Line 154]
closes : vim/vim#17921
https://github.com/vim/vim/commit/7132935413dfda47e015015dbbc5b9eb097b90d6
Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com >
2025-08-09 21:03:56 +08:00
Christian Clason and rhysd
ffeb334da0
vim-patch:66d8d28: runtime(typescript): Add syntax support for defer and arbitrary module identifiers
...
closes : vim/vim#17911
https://github.com/vim/vim/commit/66d8d286cdc38838bd74a6c3014dccda33c64330
Co-authored-by: rhysd <lin90162@yahoo.co.jp >
2025-08-08 10:57:07 +02:00
Christian Clason and Nir Lichtman
6502dd43c4
vim-patch:589aa28: runtime(javascript): add "as" as a reserved keyword to syntax script
...
closes : vim/vim#17912
https://github.com/vim/vim/commit/589aa284f6a31184683505c8a6ba885ff3349316
Co-authored-by: Nir Lichtman <nir@lichtman.org >
2025-08-07 17:10:44 +02:00
zeertzjq and Doug Kearns
1240d29f8f
vim-patch:b88f9e4: runtime(vim): Update base syntax, fix :map termination in :command RHS ( #35131 )
...
Ensure :map (and :abbreviate) terminate at | when included in :command
replacement strings containing commands separated by line continuations.
https://github.com/vim/vim/commit/b88f9e4a04ce9fb70abb7cdae17688aa4f49c8c9
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2025-08-02 19:35:21 +08:00
zeertzjq and Girish Palya
9377db2545
vim-patch:9.1.1576: cannot easily trigger wildcard expansion ( #35022 )
...
Problem: cannot easily trigger wildcard expansion
Solution: Introduce wildtrigger() function
(Girish Palya)
This PR introduces a new `wildtrigger()` function.
See `:h wildtrigger()`
`wildtrigger()` behaves like pressing the `wildchar,` but provides a
more refined and controlled completion experience:
- Suppresses beeps when no matches are found.
- Avoids displaying irrelevant completions (like full command lists)
when the prefix is insufficient or doesn't match.
- Skips completion if the typeahead buffer has pending input or if a
wildmenu is already active.
- Does not print "..." before completion.
This is an improvement on the `feedkeys()` based autocompletion script
given in vim/vim#16759 .
closes : vim/vim#17806
https://github.com/vim/vim/commit/b486ed8266d3b8cd1ffab7d7f302fbd6d5a55c70
While at it, also make Ctrl-Z trigger search completion.
Co-authored-by: Girish Palya <girishji@gmail.com >
2025-07-23 06:12:50 +08:00
zeertzjq and Doug Kearns
c556c6677b
vim-patch:31ec664: runtime(doc): Update help syntax, match :autocmd options ( #35008 )
...
- Match :autocmd options and special buffer pattern.
- Normalise ellipsis (three dots) in Ex command argument lists.
closes : vim/vim#17793
https://github.com/vim/vim/commit/31ec66403d1976a67a95b3774c7c1b9062381e8d
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2025-07-20 14:11:30 +00:00
Phạm Bình An
db1542af3d
fix(tutor): use legacy syntax for lesson 3.1 #34996
...
Problem:
- Extmark breaks lesson 3.1 of vim-01-beginner.tutor because when users
delete the line and put it elsewhere, the extmark doesn't move to the
put location.
- This doesn't mean the extmark implementation is bad though (note that
thanks to extmark, for the first time, we can make lesson 2.6 really
interactive), it's just that the tutor format has never been made for
kinds of lessons like lesson 3.1, which is why all "expected" in that
lesson are -1, which also means that lesson is not interactive in the
first place. Also see lesson 2.1.3 in vim-02-beginner, where the mark
is just used to mark the first line of the exercise, which also prove
my point.
Solution:
- For a not-really-interactive lesson like lesson 3.1, just use legacy
syntax. I borrow the old vimtutor's `--->` to mark the exercises of
the lesson.
- Less redundant interactive marks also make the json files smaller and
more maintainable.
2025-07-19 08:31:37 -07:00
Christian Clason and Christoffer Aasted
f21ada30e1
vim-patch:ba3a5a7: runtime(sh): properly delete shell commands in syntax file
...
closes : vim/vim#17785
https://github.com/vim/vim/commit/ba3a5a7372e7e41ef0153d05295b97bb06b57342
Co-authored-by: Christoffer Aasted <chr.aasted@gmail.com >
2025-07-19 11:19:40 +02:00
b21c357b9c
vim-patch:a2fff3f: runtime(lf): update syntax to support lf version r36
...
Adds the lf release 36 specific syntax highlighting changes.
related: andis-sprinkis/lf-vim#22 by @CatsDeservePets
closes : vim/vim#17792
https://github.com/vim/vim/commit/a2fff3fb94d11b916ea177ba0e6ef0cceab55ff9
Co-authored-by: Andis Spriņķis <andis@sprinkis.com >
Co-authored-by: CatsDeservePets <145048791+CatsDeservePets@users.noreply.github.com >
2025-07-19 11:19:40 +02:00
zeertzjq and Doug Kearns
10a0c59487
vim-patch:2f7c957: runtime(vim): Update base syntax and generator, improve command/function distinction
...
- Match Ex command modifiers and functions with the same name correctly.
E.g., :browse and browse().
- Match full :eval command.
closes : vim/vim#17789
https://github.com/vim/vim/commit/2f7c957c8d89b0fe06896ee0e2eaa1c3c0b2b485
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2025-07-19 06:06:52 +08:00
zeertzjq and Doug Kearns
73943eb0d1
vim-patch:97501af: runtime(vim): Update base syntax, match "any" type distinctly
...
Allow for special highlighting of the "any" Vim9 type.
Addresses comment
https://github.com/vim/vim/pull/17722#issuecomment-3075531052
closes : vim/vim#17769
https://github.com/vim/vim/commit/97501afda34c77b07782a365fcc2299165e66f69
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2025-07-19 06:01:17 +08:00
Christian Clason and Rob B
9df9d3af3b
vim-patch:b7fc24d: runtime(python): Highlight f-strings in Python
...
fixes : vim/vim#10734
fixes : vim/vim#14033
closes : vim/vim#17767
https://github.com/vim/vim/commit/b7fc24d3a3d21ccf1461c703eb7ff07ef3994c54
Co-authored-by: Rob B <github@0x7e.net >
2025-07-18 10:33:05 +02:00
zeertzjq and Hirohito Higashi
7631302ad6
vim-patch:9.1.1544: :retab cannot be limited to indentation only ( #34939 )
...
Problem: :retab cannot be limited to indentation only
Solution: add the optional -indentonly parameter
(Hirohito Higashi)
closes : vim/vim#17730
https://github.com/vim/vim/commit/836e54f5de8479a39f6d1dd4a13202af0e447311
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com >
2025-07-18 01:30:32 +00:00
zeertzjq and Doug Kearns
1b6848c299
vim-patch:175662f: runtime(vim): Update base syntax, fix incorrect function error ( #34975 )
...
Don't match lower-case function names as errors when the qualifier
includes a dict/list accessor.
This is a less than perfect fix until qualified function call matching
is reworked.
fixes : vim/vim#17766
closes : vim/vim#17780
https://github.com/vim/vim/commit/175662f4f2a046a5ca33338cd3c1ca017e135ee8
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2025-07-17 23:06:51 +00:00
Christian Clason and Rob B
83818b885a
vim-patch:edce689: runtime(python2): Highlight b-strings in Python 2.7
...
related: vim/vim#14033
related: vim/vim#17726
closes : vim/vim#17757
https://github.com/vim/vim/commit/edce68912eacb45704cb6654940e3967afe2bd96
Co-authored-by: Rob B <github@0x7e.net >
2025-07-16 10:32:33 +02:00
Christian Clason and Rob B
d4c8e8df1c
vim-patch:a24f5be: runtime(python): highlight bytes in python
...
- Highlight bytes literals
- Do not highlight Unicode escape sequences in bytes literals
fixes : vim/vim#14033
fixes : vim/vim#17726
closes : vim/vim#17728
https://github.com/vim/vim/commit/a24f5be86d895981cb84266f98bae9f14407264b
Co-authored-by: Rob B <github@0x7e.net >
2025-07-15 00:14:00 +02:00
Christian Clason and Rob B
3eb597c999
vim-patch:baa781a: runtime(python2): highlight unicode strings in python2
...
fixes : vim/vim#14033
fixes : vim/vim#17726
closes : vim/vim#17729
https://github.com/vim/vim/commit/baa781a4c35d7cc07d28bb6f0062c7fddf8e8556
Co-authored-by: Rob B <github@0x7e.net >
2025-07-15 00:14:00 +02:00
73987a4301
vim-patch:e85a66a: runtime(erlang): Add support for triple-quoted strings and docstrings
...
Erlang recently added the `-moduledoc` attribute as well as triple
quoted strings and the `~` prefix for binary strings, see [1].
Erlang also added nominal types. See EEP-69 [2].
This commit removes the documentation of "g:erlang_highlight_bifs" and
"g:erlang_highlight_special_atoms", which are not longer supported.
"g:erlang_old_style_highlight" is kept undocumented (as it should not be
used by new users).
This commit contains the modifications in the following PR and commits:
- vim-erlang/vim-erlang-runtime#58
- vim-erlang/vim-erlang-runtime@43d18d3
- vim-erlang/vim-erlang-runtime@ac88ebf
- vim-erlang/vim-erlang-runtime@19c1be9
- vim-erlang/vim-erlang-runtime@7f5cefc
- vim-erlang/vim-erlang-runtime@976b10b
[1]: https://www.erlang.org/doc/system/documentation.html
[2]: https://www.erlang.org/eeps/eep-0069
closes : vim/vim#17687
https://github.com/vim/vim/commit/e85a66a4d4a44bc13862a7b43ca22d929b97503a
Co-authored-by: Csaba Hoch <csaba@cursorinsight.com >
Co-authored-by: Johannes Christ <jc@jchri.st >
2025-07-15 00:14:00 +02:00
zeertzjq and Doug Kearns
9f16b598f9
vim-patch:1341176: runtime(vim): Update help syntax file, improve highlighting of included Vim examples ( #34924 )
...
- Take over as file maintainer.
- Improve highlighting of legacy script examples by using :syn-iskeyword
with the default 'iskeyword' value. Vim9 script examples are not
supported yet.
- Match admonition labels in more contexts.
- Match URLs in more contexts.
fixes vim/vim#17721
closes : vim/vim#17731
https://github.com/vim/vim/commit/1341176e7b800238b30a137c1ea1a31ca2c3d488
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2025-07-13 23:11:22 +00:00
Christian Clason and Zvezdan Petkovic
444a8b3ec6
vim-patch:6f85cec: runtime(python): update rendering of Unicode named literals in syntax script
...
This change:
* enforces that the alias starts with a letter
* allows the other words in an alias to be separated by either a space
or a hyphen, but not both or double separators
* allows only a letter after space, possibly followed by letters or
digits
* allows both letters and digits after a hyphen
Tested with:
a = '\N{Cyrillic Small Letter Zhe} is pronounced as zh in pleasure'
b = '\N{NO-BREAK SPACE} is needed here'
# ... other tests here
r = '\N{HENTAIGANA LETTER E-1} is a Japanese hiragana letter archaic ye'
s = '\N{CUNEIFORM SIGN NU11 TENU} is a correction alias'
t = '\N{RECYCLING SYMBOL FOR TYPE-1 PLASTICS} base shape is a triangle'
print(a)
print(b)
print(r)
print(s)
print(t)
The tests confirm the behavior and are selected from real Unicode
tables/aliases to check these combinations based on the specification.
fixes : vim/vim#17323
closes : vim/vim#17735
https://github.com/vim/vim/commit/6f85cec4fbc1d1261c67a339a11792dd8f2efd14
Co-authored-by: Zvezdan Petkovic <zpetkovic@acm.org >
2025-07-13 11:07:40 +02:00
zeertzjq and Doug Kearns
3e7f5d95aa
vim-patch:ce1d196: runtime(vim): Update base syntax, improve :match highlighting ( #34912 )
...
- Match the range prefix separately as a count.
- Match an explicit count of 1, rarely used but seen in the wild.
- Allow whitespace between the count and command.
closes : vim/vim#17717
https://github.com/vim/vim/commit/ce1d1969f304af122eaf10b405dad013ac0246f7
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2025-07-13 16:39:19 +08:00
Phạm Bình An
f1babb322b
refactor(qf): move syntax code for qf-toc to qf.lua #34879
2025-07-11 18:13:20 -07:00
zeertzjq and Doug Kearns
9809ce8b47
vim-patch:6ac2e4a: runtime(vim): Update base syntax, improve function call highlighting ( #34874 )
...
- Match more function calls.
- Contain function call syntax groups.
- Improve differentiation between Ex commands and builtin functions with
the same name. Remove special cases. Command modifiers are not
currently well differentiated from functions.
closes : vim/vim#17712
https://github.com/vim/vim/commit/6ac2e4aa0a565dc8cac73b33c9c099cea77212a8
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2025-07-11 07:20:25 +08:00
phanium
76f6868e0a
fix(runtime): no conceal in qf on :lopen #34854
...
Problem:
No conceal in qf on `lopen` since 74fcc945 . Repro:
nvim --clean +'tab Man ls' +'norm gO' +lclose +lopen
Solution:
Consider "Table of contents" title.
2025-07-09 09:36:10 -07:00
Christian Clason and James McCoy
4310f3f580
vim-patch:e9d331d: runtime(autopkgtest): add syntax file for autopkgtest
...
related: vim/vim#17679
https://github.com/vim/vim/commit/e9d331d17383a3a6a05e90d5265df2a8d10640f2
Co-authored-by: James McCoy <jamessan@jamessan.com >
2025-07-07 11:24:04 +02:00
Christian Clason and James McCoy
d73788fad2
vim-patch:48c823c: runtime(debcontrol): move kernel/architecture definitions to shared/debarchitectures.vim
...
related: vim/vim#17679
https://github.com/vim/vim/commit/48c823ca01c93141a934e230cd425bc74ebfaf45
Co-authored-by: James McCoy <jamessan@jamessan.com >
2025-07-07 11:24:04 +02:00
zeertzjq and Doug Kearns
55f003671d
vim-patch:5911ac5: runtime(vim): Update base-syntax, match :filetype in functions
...
closes : vim/vim#17671
https://github.com/vim/vim/commit/5911ac5023594a55a3654c9050d4924ca3218d22
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2025-07-06 06:46:37 +08:00