Christian Clason and Corey Prophitt
479af3b006
vim-patch:56e8ed6: runtime(kivy): Updated maintainer info for syntax script
...
closes : vim/vim#15405
https://github.com/vim/vim/commit/56e8ed61629cebf737f637d843b9f4a397fbcc72
Co-authored-by: Corey Prophitt <git@prophitt.me >
2024-07-31 23:06:28 +02:00
Christian Clason and Christian Brabandt
1dd2bf926d
vim-patch:df9f67e: runtime(html): update syntax script to sync by 250 minlines by default
...
closes : vim/vim#14071
https://github.com/vim/vim/commit/df9f67e10d214e0124f2141f59593529801307a4
Co-authored-by: Christian Brabandt <cb@256bit.org >
2024-07-31 00:18:32 +02:00
Christian Clason and Yinzuo Jiang
1b5a394ffd
vim-patch:011f222: runtime(thrift): add ftplugin, indent and syntax scripts
...
Problem: Apache Thrift files misses ftplugin, indent and syntax scripts
Solution:
- add ftplugin and indent scripts
- add thrift indent test
- port the syntax script from apache/thrift (Apache License 2)
Reference:
https://diwakergupta.github.io/thrift-missing-guide/#_language_reference
closes : vim/vim#15387
https://github.com/vim/vim/commit/011f2223e5df68f45a382f6a9dff6eaf5ecac346
Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com >
2024-07-30 10:39:43 +02:00
Christian Clason and josch
8168b228e0
vim-patch:4c45425: runtime(debcopyright): Add support for Files-Included in syntax script
...
Full support (including for components) was finished with this commit:
https://salsa.debian.org/debian/devscripts/-/commit/ee90dad7712a7db1e9541b405e065a08d29d62f8
closes : vim/vim#15374
https://github.com/vim/vim/commit/4c45425c10a94382a435239e8f63c6b1ca55d4e4
Co-authored-by: josch <josch@debian.org >
2024-07-29 09:12:03 +02:00
zeertzjq and Ken Takata
60967cd9aa
vim-patch:9.1.0616: filetype: Make syntax highlighting off for MS Makefiles ( #29874 )
...
Problem: filetype: Make syntax highlighting off for MS Makefiles
Solution: Try to detect MS Makefiles and adjust syntax rules to it.
(Ken Takata)
Highlighting of variable expansion in Microsoft Makefile can be broken.
E.g.:
https://github.com/vim/vim/blob/2979cfc2627d76a9c09cad46a1647dcd4aa73f5f/src/Make_mvc.mak#L1331
Don't use backslash as escape characters if `make_microsoft` is set.
Also fix that `make_no_comments` was not considered if `make_microsoft`
was set.
Also add description for `make_microsoft` and `make_no_comments` to the
documentation and include a very simple filetype test
closes : vim/vim#15341
https://github.com/vim/vim/commit/eb4b903c9b238ebcc1d14cfcb207129b4931a33d
Co-authored-by: Ken Takata <kentkt@csc.jp >
2024-07-27 16:48:29 +08:00
Christian Clason and Daniel Smith
bb185d63ab
vim-patch:4d68054: runtime(progress): Add single-line comment syntax
...
Progress OpenEdge 11.6 added a new C-like single-line comment syntax; such
comments begin with `//` and proceed to the end of the line.
Add a new syntax group `ProgressLineComment` to implement highlighting for this
syntax. Rename the existing group from `ProgressComment` to
`ProgressBlockComment`, and introduce a cluster named `ProgressComment` to
encapsulate both.
closes : vim/vim#15339
https://github.com/vim/vim/commit/4d68054c1e49b937a1aa9567196b97b36fe99c27
Co-authored-by: Daniel Smith <daniel@rdnlsmith.com >
2024-07-26 08:45:06 +02:00
Christian Clason and Daniel Smith
a2840d0117
vim-patch:d5cc8ee: runtime(progress): Update maintainer info
...
The Progress syntax file was last updated eight years ago, and the header
information twelve years ago. Attempts to contact the last known maintainer at
the email address listed in the file header (with the spam-prevention characters
removed) produced a delivery failure notification stating that the address did
not exist.
I intend to submit some minor improvements to this file. Per [1], I will assume
maintainership of it for the time being.
related: vim/vim#15339
[1]: https://groups.google.com/g/vim_dev/c/I3pOKIOgM4A/m/pekGQB_lBwAJ
https://github.com/vim/vim/commit/d5cc8ee0fa3e952492aed0c2f7e97586a0a87ab7
Co-authored-by: Daniel Smith <daniel@rdnlsmith.com >
2024-07-26 08:45:06 +02:00
108d2bf74b
vim-patch:e73e5b8: runtime(java): Optionally highlight the :: token for method references
...
This token will be highlighted, similar to the arrow of
lambda expressions, whenever "g:java_highlight_functions" is
defined.
Also:
- Improve the recognition of _switch-case_ labels
(D-Cysteine).
- Remove insignificant empty statements in syntax test
files.
closes : vim/vim#15322
References:
https://docs.oracle.com/javase/specs/jls/se21/html/jls-15.html#jls-15.13
https://github.com/fleiner/vim/pull/1
https://github.com/vim/vim/commit/e73e5b889b52675a9ea58cf154235c7f25d107d5
Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com >
Co-authored-by: D-Cysteine <54219287+D-Cysteine@users.noreply.github.com >
2024-07-25 10:01:35 +02:00
zeertzjq and Doug Kearns
0cdeb06db0
vim-patch:ddbb6fe: runtime(vim): Update base-syntax, improve :set highlighting ( #29850 )
...
- Match bang, "all" and "termcap" options, and trailing command
separator "|".
- Highlight set assignment operators.
- Match multiline :set and multiline option values.
- Mention the newer "0o" octal prefix at :help :set=.
closes : vim/vim#15329
https://github.com/vim/vim/commit/ddbb6fe2d0344e93436c5602b7a06169f49a9b52
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2024-07-25 09:55:59 +08:00
Gregory Anders
79d492a421
vim-patch:9.1.0610: filetype: OpenGL Shading Language files are not detected ( #29831 )
...
Problem: filetype: OpenGL Shading Language files are not detected
Solution: detect various file extensions as GLSL filetype, include
indent and syntax script, do no longer recognize '*.comp'
as Mason filetype (Gregory Anders)
closes : vim/vim#15317
https://github.com/vim/vim/commit/e4b991ed36f96dd01c6d75e46a04fd1a99180e58
2024-07-23 06:28:05 +08:00
Christian Clason and Yinzuo Jiang
e1b7fa2a3a
vim-patch:6e37575: runtime(mysql): update syntax script
...
Problem:
- `syn region ...`s in syntax/mysql.vim match function names inaccurately.
- no syntax rules for mysql window function.
- coarse highlight definition in syntax/mysql.vim.
Solution:
- add `\<` before the function name for accuracy.
- add syntax rules for mysql window function.
- enhance the highlight definition.
closes : vim/vim#15311
https://github.com/vim/vim/commit/6e37575760022be047cad0e1cf1e30c18fab21ad
Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com >
2024-07-21 14:14:53 +02:00
Christian Clason and itchyny
a5d5b9f36b
vim-patch:aa49512: runtime(yaml): Fix flow mapping key detection
...
fixes : vim/vim#15196
closes : vim/vim#15313
https://github.com/vim/vim/commit/aa495124f80812b9c8c1942e6c4f9ce2242ea01f
Co-authored-by: itchyny <itchyny@cybozu.co.jp >
2024-07-21 14:14:53 +02:00
Christian Clason and Christian Brabandt
5fc25ecc7a
vim-patch:4aa6b52: runtime(kconfig): Update syntax script and remove syn sync
...
fixes : vim/vim#15306
https://github.com/vim/vim/commit/4aa6b52e82871fe3a607756de609b9c14feb4e04
Co-authored-by: Christian Brabandt <cb@256bit.org >
2024-07-20 12:59:07 +02:00
zeertzjq and Doug Kearns
adef830f83
vim-patch:99984fc: runtime(vim): Update base-syntax, improve :map highlighting ( #29795 )
...
Match :map ( RHS properly.
Only match ! after :map, :noremap, :unmap and :mapclear.
closes : vim/vim#15297
https://github.com/vim/vim/commit/99984fc58abf8dd5dac76c80635a724a94824e69
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2024-07-19 04:16:20 +00:00
Christian Clason and daniel-s-w
f69cfc6712
vim-patch:1724ddb: runtime(sdc): update syntax to SDC-standard 2.1
...
Looking into the current standard for Synopsis Design Constraints (SDC)
from their [Technology Access
Program](https://www.synopsys.com/community/interoperability-programs/tap-in.html ),
one can see that the current state of the sdc-syntax file is very
outdated as well as short in coverage of keywords.
This commit pursues to add all the missing keywords from the current
standard (Rev. 2.1).
closes : vim/vim#15281
https://github.com/vim/vim/commit/1724ddbe3a8750e862504ade5b2780b8791d67a0
Co-authored-by: daniel-s-w <59746710+daniel-s-w@users.noreply.github.com >
2024-07-18 08:48:24 +02:00
zeertzjq and Doug Kearns
167d0e5a6c
vim-patch:d65e58f: runtime(vim): Update base-syntax, match types in Vim9 variable declarations ( #29780 )
...
Match types in Vim9 variable declarations.
Match Vim9 boolean and null literals. These are not matched in all
contexts yet.
related: vim/vim#15277
https://github.com/vim/vim/commit/d65e58f6f930f769cae869aeedf00192a242c5cc
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2024-07-18 01:08:47 +00:00
Christian Clason and Christian Brabandt
c7b0334cea
vim-patch:3698fbb: runtime(tsv): include simple syntax plugin
...
fixes : vim/vim#15271
https://github.com/vim/vim/commit/3698fbbd7c35590dcc4708677d6c38f9009cf9a3
Co-authored-by: Christian Brabandt <cb@256bit.org >
2024-07-17 11:11:58 +02:00
Christian Clason and AvidSeeker
8e590cae83
vim-patch:9.1.0593: filetype: Asymptote files are not recognized
...
Problem: filetype: Asymptote files are not recognized
Solution: detect '*.asy' files as asy filetype, include
ftplugin and syntax plugin (AvidSeeker).
Reference: https://asymptote.sourceforge.io/
closes : vim/vim#15252
https://github.com/vim/vim/commit/3088ef094da721dac8c0363a6c9e14eaf9313929
Co-authored-by: AvidSeeker <avidseeker7@protonmail.com >
2024-07-17 11:11:58 +02:00
Christian Clason and AvidSeeker
61ea466591
vim-patch:9.1.0592: runtime: filetype: Mediawiki files are not recognized
...
Problem: filetype: Mediawiki files are not recognized
Solution: detect "*.mw" and "*.wiki" as mediawiki filetype,
include basic syntax and filetype plugins.
(AvidSeeker)
closes : vim/vim#15266
https://github.com/vim/vim/commit/b5844104ab1259e061e023ea6259e4eb002e7170
Co-authored-by: AvidSeeker <avidseeker7@protonmail.com >
2024-07-17 11:11:58 +02:00
Christian Clason and Gregory Anders
a0fd51c1e2
vim-patch:1cc4cae: runtime(typst): Add typst runtime files
...
closes : vim/vim#15234
https://github.com/vim/vim/commit/1cc4cae961a7b49608ef7bd56837cc723d49db4d
Co-authored-by: Gregory Anders <greg@gpanders.com >
2024-07-16 09:43:57 +02:00
Christian Clason and Yinzuo Jiang
79130c0fd3
vim-patch:9.1.0586: ocaml runtime files are outdated
...
Problem: ocaml runtime files are outdated
Solution: sync those files with the upstream repo,
detect a few more ocaml files
(Yinzuo Jiang)
closes : vim/vim#15260
https://github.com/vim/vim/commit/700cf8cfa1e926e2ba676203b3ad90c2c2083f1d
Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com >
2024-07-14 23:55:57 +02:00
Christian Clason and Eisuke Kawashima
8d8b8af2d2
vim-patch:57f7d75: runtime(logindefs): update syntax with new keywords
...
* add keywords
* enforce octal format for permissions
closes : vim/vim#15222
https://github.com/vim/vim/commit/57f7d75591da0ec91068741eefbad295be8f78b4
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com >
2024-07-12 11:41:51 +02:00
Christian Clason and Christian Brabandt
f4beab7ad8
vim-patch:7a22cb8: runtime(fstab): Add missing keywords to fstab syntax
...
Added overlay, tracefs and fixed the "none" keyword in the fstab syntax definition.
closes : vim/vim#15217
https://github.com/vim/vim/commit/7a22cb81415060215d28c1601a0b35755449bf87
Co-authored-by: Christian Brabandt <cb@256bit.org >
2024-07-12 11:34:00 +02:00
zeertzjq and LemonBoy
83f42aa450
vim-patch:9.1.0568: Cannot expand paths from 'cdpath' setting
...
Problem: Cannot expand paths from 'cdpath' setting
(Daniel Hahler)
Solution: Implement 'cdpath' completion, add the new 'dir_in_path'
completion type (LemonBoy)
fixes vim/vim#374
closes : vim/vim#15205
https://github.com/vim/vim/commit/a20bf69a3b32024cb7809be87af33bf9dc490a19
Co-authored-by: LemonBoy <thatlemon@gmail.com >
2024-07-12 07:39:36 +08:00
Christian Clason and Yinzuo Jiang
136c11ca22
vim-patch:9.1.0550: filetype: antlr4 files are not recognized
...
Problem: filetype: antlr4 files are not recognized
Solution: Detect '*.g4' as antlr4 filetype, include a simple antlr4
syntax and filetype plugin (Yinzuo Jiang)
closes : vim/vim#15191
https://github.com/vim/vim/commit/4a7a4a3675b6ad90a525524ba4684925df212325
Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com >
2024-07-10 09:31:48 +02:00
f3c7fb9db1
vim-patch:73a8108: runtime(tmux): Update syntax script
...
closes : vim/vim#15195
related: vim/vim#15188
https://github.com/vim/vim/commit/73a810817b9bea7ce31e625bf5519b6a02f53d41
Co-authored-by: Eric Pruitt <eric.pruitt@gmail.com >
Co-authored-by: Contsantine Bulany <61948252+lostl1ght@users.noreply.github.com >
2024-07-09 22:05:45 +02:00
Christian Clason and Riley Bruins
27cd2aa38d
vim-patch:8906e22: runtime(kivy): update kivy syntax, include ftplugin
...
Kivy uses "#:" for preprocessing commands (like "#:import ...") which
were overridden by the comment syntax. This has been changed, and a
commentstring has been added.
closes : vim/vim#15163
https://github.com/vim/vim/commit/8906e22df5223e012092eaee491a00534ba9f4b5
Co-authored-by: Riley Bruins <ribru17@hotmail.com >
2024-07-08 12:14:44 +02:00
zeertzjq and Doug Kearns
055a222797
vim-patch:e85fdc7: runtime(vim): Update base-syntax, improve :match command highlighting ( #29607 )
...
Match group and pattern arguments to :match commands.
closes : vim/vim#15096
https://github.com/vim/vim/commit/e85fdc730e2a538db9af72a255207aa3d5f3fafc
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2024-07-08 06:51:23 +08:00
Christian Clason and Kafva
0803ac7b08
vim-patch:3d2a996: runtime(dockerfile): enable spellchecking of comments in syntax script
...
closes : vim/vim#15147
https://github.com/vim/vim/commit/3d2a996267758284c85b893401d2e331496eb154
Co-authored-by: Kafva <36083692+Kafva@users.noreply.github.com >
2024-07-04 14:06:41 +02:00
zeertzjq
12c9791e0f
fix(runtime): stop treesitter highlight in b:undo_ftplugin ( #29533 )
...
It seems that nvim-treesitter stops treesitter highlight when changing
filetype, so it makes sense for builtin ftplugins to do this as well.
Use :call and v:lua here to allow separation with '|'.
2024-07-03 15:24:12 +08:00
Christian Clason and Aliaksei Budavei
be999e6a0e
vim-patch:01a4fb1: runtime(java): Compose "g:java_highlight_signature" and "g:java_highlight_functions"
...
With the variables defined, distinctly highlight parts of
a method declaration header: its name and parameter list
parens, from its type parameters, return type, and formal
parameters; and distinctly highlight parts of a lambda
expression: its parameter list parens and the arrow, from
its formal parameters and identifiers.
closes : vim/vim#15083
https://github.com/vim/vim/commit/01a4fb104dbee6a8b7ef20394a2a7c5b49cf49ca
Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com >
2024-06-23 12:20:08 +02:00
zeertzjq and Doug Kearns
6796f7cf61
vim-patch:fc64ac0: runtime(vim): Update base-syntax, fix function tail comments ( #29450 )
...
Match Vim9-script comments after :def and :enddef and legacy-script
comments after :func and :endfunc, in any definition context.
Highlight incorrect comment types after these commands as errors.
fixes : vim/vim#15062
closes : vim/vim#15072
https://github.com/vim/vim/commit/fc64ac0be2c4f9446798de4d66b029526d1afa85
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2024-06-22 19:46:13 +08:00
Christian Clason and Evan Hanson
5eb604c642
vim-patch:17e0a19: runtime(scheme): update runtime files
...
Add TODO highlighting, disable text-wrapping, add "define-library" to
lispwords on CHICKEN. Update MAINTAINERS.
closes : vim/vim#15063
https://github.com/vim/vim/commit/17e0a1969da4e70771435fc7fa9d8c96d25c8b00
Co-authored-by: Evan Hanson <evhan@foldling.org >
2024-06-21 11:03:47 +02:00
Christian Clason and Aliaksei Budavei
7306adaebc
vim-patch:beb02ed: runtime(java): Optionally highlight parameterised types
...
In the presence of parameterised types whose names begin
with a capital letter and end with a less-than sign "<" that
introduces a type argument or a list of comma-separated type
arguments, followed by a greater-than sign ">", a variable
"g:java_highlight_generics" can be defined to have some
components of such types uniformly coloured (by picking
highlight groups for javaGenericsC{1,2}, javaWildcardBound).
For example,
------------------------------------------------------------
java.io.InputStream stream = java.io.InputStream.nullInputStream();
java.util.function.Function<String,
java.util.function.BiFunction<String, String, String>> updater =
property -> (oldValue, newValue) -> oldValue;
java.util.logging.LogManager.getLogManager()
.updateConfiguration(stream, updater);
------------------------------------------------------------
Note that the diamond form and explicit type arguments do
not qualify for this kind of recognition.
For example,
------------------------------------------------------------
new java.util.HashSet<>().<String>toArray(new String[0]);
------------------------------------------------------------
References:
https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.5
https://docs.oracle.com/javase/specs/jls/se21/html/jls-15.html#jls-15.9
https://docs.oracle.com/javase/specs/jls/se21/html/jls-15.html#jls-15.12.2.1
closes : vim/vim#15050
https://github.com/vim/vim/commit/beb02ed674bc61f179c4ff71e93bdeeb44fe9c4e
Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com >
2024-06-21 11:03:47 +02:00
Christian Clason and Aliaksei Budavei
ac6f0c02cf
vim-patch:94c5d8a: runtime(java): Remove the group exclusion list from @javaTop
...
Instances of anonymous classes can be passed as method
arguments and should be subject to line folding as well.
closes : vim/vim#15048
https://github.com/vim/vim/commit/94c5d8a5e20e1dd8c9e8434ee14e368276644f61
Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com >
2024-06-20 09:28:01 +02:00
fe5d1279a4
vim-patch:1ce65e3: runtime(csv): include a simple csv filetype and syntax plugin ( #29395 )
...
* vim-patch:1ce65e3: runtime(csv): include a simple csv filetype and syntax plugin
fixes : vim/vim#15038
https://github.com/vim/vim/commit/1ce65e35ac6555054db1276e30d9d63421e6b346
Co-authored-by: Maxim Kim <habamax@gmail.com >
Co-authored-by: zeertzjq <zeertzjq@outlook.com >
2024-06-19 09:41:03 +02:00
Christian Clason and Mohamed Akram
72ddf213a1
vim-patch:917ff8a: runtime(html): bump length of character references in syntax script ( vim/vim#15022 )
...
This allows handling longer references such as
`∳`.
https://github.com/vim/vim/commit/917ff8a19d2746dd922b7292dc61fb92e18b7ce2
Co-authored-by: Mohamed Akram <mohd.akram@outlook.com >
2024-06-16 23:24:55 +02:00
Christian Clason and Yinzuo Jiang
615e859a0e
vim-patch:79da22d: runtime(kdl): fix KdlIndent and kdlComment in indent script ( vim/vim#15019 )
...
https://github.com/vim/vim/commit/79da22de755e28bd8d4f58fc4bf34cf94f45de63
Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com >
2024-06-16 12:00:58 +02:00
Christian Clason and Aliaksei Budavei
2f87d363c1
vim-patch:371bab0: runtime(java): Fold multi-line comments with the syntax kind of &fdm ( vim/vim#15016 )
...
Also:
- Restore the capability to mark as an error braces nested
in parens with g:javaInParen.
- Try not to fold top-level-type bodies. (Defining multiple
package-private top level types in a single source file is
not recommended as it can impose order among compilation
units; so it is assumed that only one such top level type
is usually defined.)
- Compose ‘method header’ highlighting and block braces
folding.
- Do not highlight block braces whenever ‘method header’
highlighting is requested.
This bundling of ‘method headers’ and block braces for
highlighting can be traced back to Vim v5.0; however, no
comment or documentation entry conveys any justification.
For example, it is hard to discover the connection between
block braces for "while", "if", etc., statements and method
body block braces. The former behaviour can be attained in,
e.g. ~/.vim/after/syntax/java.vim:
------------------------------------------------------------
if exists("g:java_highlight_functions")
syn clear javaBlock javaInParen
syn match javaBlockOther "[{}]"
syn region javaBlock transparent matchgroup=javaBlockStart
\ start="\%(^\|^\S[^:]\+\)\@120<!{" end="}" fold
hi def link javaBlockStart javaFuncDef
hi def link javaBlockOther javaBlockStart
if exists("g:java_mark_braces_in_parens_as_errors")
syn match javaInParen contained "[{}]"
endif
endif
------------------------------------------------------------
Note: Read ‘a method header omitting a _throws_ clause’ for
every ‘method header’ appellation used above.
https://github.com/vim/vim/commit/371bab05947b32f26d1b32922e5dc38343a875bc
Co-authored-by: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com >
2024-06-16 12:00:58 +02:00
zeertzjq and dkearns
bb487ea12e
vim-patch:ae321b5: runtime(vim): Update base-syntax, match shebang lines (vim/vim#15011) ( #29351 )
...
Match shebang lines in Vim9 and legacy script.
Mark these as an error if they appear anywhere other than the first line
of a legacy-script file. In Vim9 script these match as normal line
comments rather than an error.
https://github.com/vim/vim/commit/ae321b51f7531b23545d64c3a98ed991a31dd5ee
Co-authored-by: dkearns <dougkearns@gmail.com >
2024-06-15 21:28:23 +08:00
zeertzjq and Doug Kearns
a6e01d191a
vim-patch:262e25e: runtime(vim): Update base-syntax, match :sleep arg
...
Match :sleep arg properly including a lone "m" with a leading count.
closes : vim/vim#15003
https://github.com/vim/vim/commit/262e25e5a10438770dc9e23e0d5ffcb116f05d0f
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2024-06-15 06:06:53 +08:00
zeertzjq and dkearns
0600754d8d
vim-patch:a3bddb7: runtime(vim): Update base-syntax, match :catch and :throw args ( vim/vim#14989 )
...
Match :catch /{pattern}/ and :throw {expr1}.
https://github.com/vim/vim/commit/a3bddb759e77c52431a93a68674790dd02647cd1
Co-authored-by: dkearns <dougkearns@gmail.com >
2024-06-15 06:01:50 +08:00
Christian Clason and Aliaksei Budavei
f75053a00a
vim-patch:902b766: runtime(java): Include element values in non-marker annotations ( vim/vim#14979 )
...
Make a formal definition for normal and single-element kinds
of annotations that otherwise require for their containment
to repeat each time all syntax groups that describe element
values.
Reference:
https://docs.oracle.com/javase/specs/jls/se21/html/jls-9.html#jls-9.7
https://github.com/vim/vim/commit/902b766858fad89ab30b4e0a92ddd1244b2a4cbe
Co-authored-by: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com >
2024-06-13 22:26:54 +02:00
zeertzjq and dkearns
bbe69b4022
vim-patch:959c3c8: runtime(vim): Update base-syntax, configurable comment string highlighting ( vim/vim#14931 )
...
Allow highlighting of strings within comments to be disabled by setting
g:vimsyn_comment_strings to false.
https://github.com/vim/vim/commit/959c3c887b2e52c7141b2a09a53634481911b1b7
Co-authored-by: dkearns <dougkearns@gmail.com >
2024-06-12 10:29:19 +08:00
zeertzjq and dkearns
c7799b1a23
vim-patch:059cbe8: runtime(vim): Update base-syntax, match multiline continued comments ( vim/vim#13936 )
...
Match multiline (continued) line comments.
Continued tail comments are not supported yet.
https://github.com/vim/vim/commit/059cbe8933550e4f2b10ab564fb4398e95280198
Co-authored-by: dkearns <dougkearns@gmail.com >
2024-06-12 10:22:50 +08:00
c06f3dbe3e
vim-patch:2d88210: runtime(kdl): include syntax, indent and ftplugin files
...
closes : vim/vim#14956
https://github.com/vim/vim/commit/2d88210b3c8516c30ed104054e5cdaef67880755
Co-authored-by: inzuo Jiang <jiangyinzuo@foxmail.com >
Co-authored-by: Aram Drevekenin <aram@poor.dev >
2024-06-11 14:00:11 +02:00
Christian Clason and Kentaro Hayashi
04d3ad1ded
vim-patch:b8076f9: runtime(deb822sources): add missing Enabled field in syntax script
...
closes : vim/vim#14898
It lacks the support of Enabled: boolean option field [1]:
e.g.
Types: deb
Uris: https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/
Components: main
Suites: vscodium
Architectures: amd64 i386 arm64 armhf
Enabled: yes
Signed-By: /var/lib/extrepo/keys/vscodium.asc
This patch was also forwarded to upstream. [2]
[1] https://manpages.debian.org/unstable/apt/sources.list.5.en.html#DEB822-STYLE_FORMAT
[2] https://salsa.debian.org/vim-team/vim-debian/-/merge_requests/16
https://github.com/vim/vim/commit/b8076f92a1a1a12101ab8288e9e173e687afecff
Co-authored-by: Kentaro Hayashi <kenhys@gmail.com >
2024-06-11 14:00:11 +02:00
Christian Clason and Aliaksei Budavei
2f752d6ad4
vim-patch:d6b4afb: runtime(java): Exclude lambda expressions from _when_ _switch-case_ label clauses ( vim/vim#14945 )
...
These guard clauses are always boolean expressions, whereas
lambda expressions can only appear in either an assignment,
a casting, or an invocation context.
References:
https://docs.oracle.com/javase/specs/jls/se21/html/jls-14.html#jls-14.11.1
https://docs.oracle.com/javase/specs/jls/se21/html/jls-15.html#jls-15.27
https://github.com/vim/vim/commit/d6b4afb636aed7eaf709eb27c4944a1263a0f887
Co-authored-by: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com >
2024-06-10 00:23:18 +02:00
zeertzjq and Doug Kearns
78d3f47428
vim-patch:92f4e91: runtime(vim): Update base-syntax, allow whitespace before :substitute pattern ( #29210 )
...
Allow whitespace between the :substitute command and its pattern
argument. Although unusual, it is supported and there are examples in
the wild.
Match Vi compatible :substitute commands like :s\/{string}/. See :help
E1270.
fixes : vim/vim#14920
closes : vim/vim#14923
https://github.com/vim/vim/commit/92f4e915908962da2c1969a8d60f1563e06ee00e
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2024-06-06 06:40:11 +08:00
Christian Clason and Riley Bruins
2f5b8a0092
vim-patch:9.1.0464: no whitespace padding in commentstring option in ftplugins
...
Problem: no whitespace padding in commentstring option in ftplugins
Solution: Change default to include whitespace padding, update
existing filetype plugins with the new default value
(Riley Bruins)
closes : vim/vim#14843
https://github.com/vim/vim/commit/0a0830624a260660c7fa692ecb7e6e5de09114ba
Co-authored-by: Riley Bruins <ribru17@hotmail.com >
2024-06-04 10:38:55 +02:00