Christian Clason and Luca Saccarola
4182e98752
vim-patch:b66cac1: runtime(typst): add definition lists to formatlistpat, update maintainer
...
closes : vim/vim#16192
https://github.com/vim/vim/commit/b66cac1a8ed8636a38e867226f5bb621c96ff322
Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com >
2024-12-10 08:06:35 +01:00
Christian Clason and David Pedersen
c3899419d4
vim-patch:ad4764f: runtime(proto): include filetype plugin for protobuf
...
closes : vim/vim#16199
https://github.com/vim/vim/commit/ad4764f65b678938c1b252245e1af1ae150fbce8
Co-authored-by: David Pedersen <limero@me.com >
2024-12-10 08:06:35 +01:00
Christian Clason and Yinzuo Jiang
812d029702
vim-patch:9.1.0906: filetype: Nvidia PTX files are not recognized
...
Problem: filetype: Nvidia PTX files are not recognized
Solution: detect '*.ptx' files as ptx filetype (Yinzuo Jiang)
Reference: https://docs.nvidia.com/cuda/parallel-thread-execution/
closes : vim/vim#16171
https://github.com/vim/vim/commit/bdb5f85a5189534653f36e92b1bc780ca8d25218
Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com >
2024-12-06 09:40:44 +01:00
Christian Clason and Luca Saccarola
36b714e9b7
vim-patch:9a39483: runtime(typst): provide a formatlistpat in ftplugin
...
closes : vim/vim#16134
https://github.com/vim/vim/commit/9a39483adb418e37c672000a58792c0f0e8aa662
Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com >
2024-12-02 08:19:50 +01:00
Christian Clason and Konfekt
9d174a7dac
vim-patch:9.1.0898: runtime(compiler): pytest compiler not included
...
Problem: runtime(compiler): pytest compiler not included
Solution: include pytest compiler, update the compiler completion test
(Konfekt)
closes : vim/vim#16130
https://github.com/vim/vim/commit/3c2596a9e967910143d41fbb9615614ab36d43a7
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com >
2024-11-30 13:40:08 +01:00
8d7d225caa
vim-patch:65311c6: runtime(compiler): include spotbugs Java linter
...
closes : vim/vim#16001
https://github.com/vim/vim/commit/65311c6f472de67b368d83441ca5e93da86161f4
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com >
Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com >
2024-11-29 08:57:00 +08:00
Christian Clason and Turiiya
ef4f13d85c
vim-patch:c1e6621: runtime(c3): include c3 filetype plugin
...
closes : vim/vim#16090
https://github.com/vim/vim/commit/c1e6621a59ab6351fef24c1b28fb30ff34191b04
Co-authored-by: Turiiya <34311583+ttytm@users.noreply.github.com >
2024-11-24 15:24:08 +01:00
dundargoc and zeertzjq
07db909eb5
docs: misc ( #31138 )
...
Co-authored-by: zeertzjq <zeertzjq@outlook.com >
2024-11-21 06:50:30 +08:00
Christian Clason and Wu, Zhenyu
23ead4f2cb
vim-patch:9.1.0876: filetype: openCL files are not recognized
...
Problem: filetype: openCL files are not recognized
Solution: detect '*.cl' files as opencl or lisp filetype,
include a opencl syntax and filetype plugin (Wu, Zhenyu)
closes : vim/vim#15825
https://github.com/vim/vim/commit/e2c27ca8eff7cc8ec852b531d5a7f328a343a761
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu >
2024-11-20 09:31:15 +01:00
de9ed1ca54
vim-patch:9.1.0874: filetype: karel files are not detected
...
Problem: filetype: karel files are not detected
Solution: detect '*.kl' files as karel filetype,
include syntax and filetype plugin
(Kirill Morozov)
closes : vim/vim#16075
https://github.com/vim/vim/commit/fdac54d7bbf6d68a8bf741e734b86d0f1998ac86
Co-authored-by: Kirill Morozov <kirill@robotix.pro >
Co-authored-by: KnoP-01 <knosowski@graeffrobotics.de >
2024-11-20 09:31:15 +01:00
Christian Clason and Wu, Zhenyu
c12be1249f
vim-patch:9.1.0873: filetype: Vivado files are not recognized
...
Problem: filetype: Vivado files are not recognized
Solution: detect '*.mss' files as 'mss' filetype
(Wu, Zhenyu)
references:
https://docs.amd.com/r/2020.2-English/ug1400-vitis-embedded/Microprocessor-Software-Specification-MSS
closes : vim/vim#15907
https://github.com/vim/vim/commit/a87462a498a883e12ad7699b26bd28f4600b68c6
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu >
2024-11-19 10:44:30 +01:00
Yochem van Rosmalen
965dc81f81
fix(checkhealth): disable 'listchars' #31245
...
Problem:
'listchars' (in particular multispace) breaks visual heading due to
`Whitespace` highlight group.
Solution:
Disable 'list' (and thus all listchars) by default for `checkhealth`
files.
Fixes #31145
2024-11-17 15:33:34 -08:00
zeertzjq and Wu, Zhenyu
fbbb9d6f7b
vim-patch:9.1.0866: filetype: LLVM IR files are not recognized ( #31228 )
...
Problem: filetype: LLVM IR files are not recognized
Solution: detect '*.ll' files either as lifelines or llvm filetype
(Wu, Zhenyu)
closes : vim/vim#15824
https://github.com/vim/vim/commit/bc32bbddcfc2671158a4780838766ed2d1e14fa6
N/A patch:
vim-patch:7e4b861: runtime(filetype): remove duplicated *.org file pattern
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu >
2024-11-16 00:42:12 +00:00
Christian Clason and Luca Saccarola
f0fd9acc4b
vim-patch:9.1.0865: filetype: org files are not recognized
...
Problem: filetype: org files are not recognized
Solution: detect '*.org' files as 'org' filetype,
include filetype and syntax plugin
(Luca Saccarola)
closes : vim/vim#16054
https://github.com/vim/vim/commit/0684800c853ee5bd6e6736389b1a6ebe6a16a741
Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com >
2024-11-15 09:07:37 +01:00
Christian Clason and D. Ben Knoble
c905f16507
vim-patch:8e013b1: runtime(racket): update Racket runtime files
...
This brings the included Racket runtime files to commit c41bc5a (indent
for[*]/lists with accumulator clause correctly, 2024-11-12) of
https://github.com/benknoble/vim-racket .
Note that not all files from that repository are included.
closes : vim/vim#16046
https://github.com/vim/vim/commit/8e013b14211ee236f4866e7281ad4366e0ab18cd
Co-authored-by: D. Ben Knoble <ben.knoble+github@gmail.com >
2024-11-14 09:35:11 +01:00
096cb572af
vim-patch:5ca8f22: runtime(idris2): include filetype,indent+syntax plugins for (L)Idris2 + ipkg
...
closes : vim/vim#15993
https://github.com/vim/vim/commit/5ca8f223f03dbd85f5e06c8e1d500c65f311eaf1
Co-authored-by: Serhii Khoma <srghma@gmail.com >
Co-authored-by: Christian Clason <ch.clason+github@icloud.com >
2024-11-13 08:24:14 +01:00
Christian Clason and Dani Dickstein
5ff9a9397e
vim-patch:a14c457: runtime(dune): use :setl instead of :set in ftplugin
...
closes : vim/vim#11419
https://github.com/vim/vim/commit/a14c457cad99621db7950b78e7d257c300b7d897
Co-authored-by: Dani Dickstein <daniel.dickstein@gmail.com >
2024-11-10 11:05:26 +01:00
Christian Clason and Riley Bruins
ba40a6dbe3
vim-patch:9.1.0839: filetype: leo files are not recognized
...
Problem: filetype: leo files are not recognized
Solution: detect '*.leo' files as leo filetype, include
a filetype plugin (Riley Bruins)
References:
https://github.com/ProvableHQ/leo
closes : vim/vim#15988
https://github.com/vim/vim/commit/93f65a4ab8168c766e4d3794607762b52762ef82
Co-authored-by: Riley Bruins <ribru17@hotmail.com >
2024-11-05 08:31:45 +01:00
Christian Clason and Riley Bruins
fc8e786dae
vim-patch:19bc76c: runtime(cook): include cook filetype plugin
...
References:
https://github.com/cooklang/spec?tab=readme-ov-file#comments
closes : vim/vim#15989
https://github.com/vim/vim/commit/19bc76c929a9d3f87d4ea932ba5c540bcd6023ee
Co-authored-by: Riley Bruins <ribru17@hotmail.com >
2024-11-05 08:31:19 +01:00
Christian Clason and Riley Bruins
db46b58569
vim-patch:9.1.0826: filetype: sway files are not recognized
...
Problem: filetype: sway files are not recognized
Solution: detect '*.sw' files as sway filetype, include
a filetype plugin (Riley Bruins)
References:
https://github.com/FuelLabs/sway .
Comments taken from their syntax documentation. File extension taken
from the same documentation/GitHub's own recognition of these file types
closes : vim/vim#15973
https://github.com/vim/vim/commit/84b5b1c660beb2f9e27de70687e41d39a023ae81
Co-authored-by: Riley Bruins <ribru17@hotmail.com >
2024-11-02 23:33:38 +01:00
Christian Clason and Luca Saccarola
a25ec00f88
vim-patch:421ed14: runtime(typst): add folding to typst ftplugin
...
closes : vim/vim#15897
https://github.com/vim/vim/commit/421ed14b8a0f50e0d2d9247dda49feb69352bd0d
Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com >
2024-10-22 09:10:46 +02:00
Christian Clason
82b02ae2f2
fix(runtime): clean up one-off scripts
...
Problem: Some runtime files no longer spark joy.
Solution: Kondo the place up.
Still sparks _some_ joy (moved to new `runtime/scripts` folder):
* `macros/less.*`
* `mswin.vim`
* `tools/emoji_list.lua`
No longer sparks joy (removed):
* `macmap.vim` (gvimrc file; not useful in Nvim)
* `tools/check_colors.vim` (no longer useful with new default colorscheme and treesitter)
* `macros/editexisting.vim` (throws error on current Nvim)
* `macros/justify.vim` (obsolete shim for `packadd! justify`)
* `macros/matchit.vim` (same)
* `macros/shellmenu.vim` (same)
* `macros/swapmous.vim` (same)
2024-10-15 20:50:21 +02:00
xudyang1
ea5b748f24
feat(man.vim): "q" always closes window #30819
2024-10-15 08:34:50 -07:00
Christian Clason and Trilowy
b3cb0f6bea
vim-patch:6e91853: runtime(gleam): add ftplugin for gleam files
...
fixes : vim/vim#15864
closes : vim/vim#15866
https://github.com/vim/vim/commit/6e918538b117c8c0b87a3d30300e8bbd073d652c
Co-authored-by: Trilowy <49493635+trilowy@users.noreply.github.com >
2024-10-14 08:27:48 +02:00
Christian Clason and Wu, Zhenyu
0264870c0a
vim-patch:9.1.0769: filetype: MLIR files are not recognized
...
Problem: filetype: MLIR files are not recognized
Solution: Detect '*.mlir' files as mlir filetype,
include a mlir filetype plugin
(Wu, Zhenyu)
closes : vim/vim#15826
https://github.com/vim/vim/commit/347d43bd33519ab537f77d1a8fa8ab8f9196bcb9
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu >
2024-10-09 10:10:39 +02:00
Christian Clason and Andreas Schneider
7de8bdaeb8
vim-patch:4f51f3a: runtime(spec): set comments and commentstring options
...
closes : vim/vim#15817
https://github.com/vim/vim/commit/4f51f3a5732725a25ff64f509506c9c81b1c96a5
Co-authored-by: Andreas Schneider <asn@cryptomilk.org >
2024-10-08 08:21:35 +02:00
Christian Clason and Konfekt
88085c2e80
vim-patch:7c3f9af: runtime(misc): unset compiler in various ftplugins
...
just to foster best practices
closes : vim/vim#15798
https://github.com/vim/vim/commit/7c3f9af0ed5dd7035f8a3fbb2f0bf965a453e359
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com >
2024-10-07 19:19:15 +02:00
Christian Clason and Konfekt
b973789115
vim-patch:f416a22: runtime(systemd): small fixes to &keywordprg in ftplugin
...
closes : vim/vim#15784
https://github.com/vim/vim/commit/f416a2220fbd457c3d3389fb0be59bee534a7491
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com >
2024-10-03 10:45:21 +02:00
2f2f434613
vim-patch:85f054a: runtime(java): Recognise the CommonMark form (///) of Javadoc comments
...
Complement "g:java_ignore_javadoc" with "g:java_ignore_html"
and "g:java_ignore_markdown" to allow selectively disabling
the recognition of HTML and CommonMark respectively.
(Note that this is not a preview feature.)
======================== LIMITATION ========================
According to the syntactical details of JEP 467:
> Any leading whitespace and the three initial / characters
> are removed from each line.
>
> The lines are shifted left, by removing leading whitespace
> characters, until the non-blank line with the least
> leading whitespace has no remaining leading whitespace.
>
> Additional leading whitespace and any trailing whitespace
> in each line is preserved, because it may be significant.
the following example:
------------------------------------------------------------
/// A summary sentence.
/// A list:
/// - Item A.
/// - Item B.
///
/// Some code span, starting here `
/// 1 + 2 ` and ending at the previous \`.
------------------------------------------------------------
should be interpreted as if it were written thus:
------------------------------------------------------------
///A summary sentence.
/// A list:
/// - Item A.
/// - Item B.
///
/// Some code span, starting here `
/// 1 + 2 ` and ending at the previous \`.
------------------------------------------------------------
Since automatic line rewriting will not be pursued, parts of
such comments having significant whitespace may be ‘wrongly’
highlighted. For convenience, a &fex function is defined to
‘correct’ it: g:javaformat#RemoveCommonMarkdownWhitespace()
(:help ft-java-plugin).
References:
https://openjdk.org/jeps/467
https://spec.commonmark.org/0.31.2
closes : vim/vim#15740
https://github.com/vim/vim/commit/85f054aa3f0fb9530712d0897e3c8ba29946fad4
Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com >
Co-authored-by: Tim Pope <code@tpope.net >
2024-10-01 07:33:24 +02:00
Christian Clason and Riley Bruins
ea9d61b80d
vim-patch:9.1.0749: filetype: http files not recognized
...
Problem: filetype: http files not recognized
Solution: detect '*.http' as http filetype, include
http filetype plugin (Riley Bruins)
Based on the specification found
[here](https://github.com/JetBrains/http-request-in-editor-spec/blob/master/spec.md )
closes : vim/vim#15762
https://github.com/vim/vim/commit/de6c1d1182076b10212342fd2d441267fbe43a22
Co-authored-by: Riley Bruins <ribru17@hotmail.com >
2024-10-01 07:33:08 +02:00
Justin M. Keyes
09d76afe84
feat(defaults): pretty :help headings #30544
...
Problem:
Headings in :help do not stand out visually.
Solution:
Define a non-standard `@markup.heading.1.delimiter` group and
special-case it in `highlight_group.c`.
FUTURE:
This is a cheap workaround until we have #25718 which will enable:
- fully driven by `vimdoc/highlights.scm` instead of using highlight
tricks (`guibg=bg guifg=bg guisp=fg`)
- better support of "cterm" ('notermguicolors')
2024-09-27 08:53:30 -07:00
Christian Clason and John M Devin
2276743cb8
vim-patch:a7229c8: runtime(rmd,rrst): 'fex' option not properly restored
...
Add 'fex' to b:undo_ftplugin variable
closes : vim/vim#15728
https://github.com/vim/vim/commit/a7229c8a99129608e9d651441cca6e6d3079ef56
Co-authored-by: John M Devin <john.m.devin@gmail.com >
2024-09-24 09:55:43 +02:00
zeertzjq
5057753431
fix(runtime): treat b:undo_ftplugin consistently in Lua ftplugins ( #30473 )
...
- Don't assume b:undo_ftplugin is set when first modifying it.
- Don't assume b:undo_ftplugin already contains some resetting.
2024-09-23 16:49:34 +08:00
Christian Clason and zeertzjq
91b7a421ea
vim-patch:87b6565: runtime(modconf): remove erroneous :endif in ftplugin
...
regression introduced in f86568f91848ece0c5da
closes : vim/vim#15704
https://github.com/vim/vim/commit/87b65652e806ed5ae999f8b1f46b9306d48c9326
Co-authored-by: zeertzjq <zeertzjq@outlook.com >
2024-09-21 11:25:41 +02:00
Christian Clason and Konfekt
b40b22f426
vim-patch:f86568f: runtime(misc): simplify keywordprg in various ftplugins
...
closes : vim/vim#15696
https://github.com/vim/vim/commit/f86568f91848ece0c5da2178881b3ed858dae799
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com >
2024-09-21 11:25:41 +02:00
Christian Clason and Konfekt
674c1aac11
vim-patch:41c7bba: runtime(zsh,sh): set and unset compiler in ftplugin
...
closes : vim/vim#15699
https://github.com/vim/vim/commit/41c7bbaf8f567d3a19ab2a6191ec9937fb890220
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com >
2024-09-21 11:25:41 +02:00
Enno
0ba3888474
vim-patch:5036e69: runtime(systemd): allow for overriding systemd ftplugin settings (vim/vim#13373) ( #30414 )
...
closes : vim/vim#13357
https://github.com/vim/vim/commit/5036e698520b2c39e4df5738f026a68ba2e76fef
2024-09-18 19:20:14 +08:00
Christian Clason and fundawang
c1a4b8680b
vim-patch:e401576: runtime(spec): Recognize epoch when making spec changelog in ftplugin
...
closes : vim/vim#15537
https://github.com/vim/vim/commit/e40157641c1ddb9cc805c04ca23fb80a6382a349
Co-authored-by: fundawang <fundawang@yeah.net >
2024-09-11 09:47:30 +02:00
LosFarmosCTL
9ddfcb64bf
fix(runtime): add remaining missing commentstrings ( #30252 )
2024-09-10 15:01:25 +08:00
Gregory Anders
51088b67cb
vim-patch:150b507: runtime(hcl,terraform): Add runtime files for HCL and Terraform ( #30266 )
...
closes : vim/vim#15618
https://github.com/vim/vim/commit/150b5078ac886519083576124090489c3a21bd3b
2024-09-04 19:32:52 -05:00
Christian Clason and Marc Jakobi
195eca94d4
vim-patch:9abd02d: runtime(nu): include filetype plugin
...
This is used to set the commentstring option.
closes : vim/vim#15601
https://github.com/vim/vim/commit/9abd02d16ad08e61729fe08d909c87915239affb
Co-authored-by: Marc Jakobi <marc.jakobi@tiko.energy >
2024-09-01 11:35:34 +02:00
Christian Clason and Stanislav Asunkin
89df96b5cf
vim-patch:dd36d6c: runtime(mediawiki): fix typo in doc, test for b:did_ftplugin var
...
closes : vim/vim#15479
https://github.com/vim/vim/commit/dd36d6cc7c39f3cfb29818f89f4f9dec2c7c22e4
Co-authored-by: Stanislav Asunkin <1353637+stasjok@users.noreply.github.com >
2024-08-17 13:03:13 +02:00
Yinzuo Jiang
f3677c71f0
vim-patch:fc762df: runtime(sql, mysql): fix E169: Command too recursive with sql_type_default = "mysql"
...
Problem: When setting "let g:sql_type_default = "mysql", editing .sql
file reports "E169: Command too recursive" error
Solution:
- Add 'let b:did_ftplugin = 1' at the top of ftplugin/sql.vim
- Add 'if exists("b:did_ftplugin") | finish | endif' in ftplugin/mysql.vim
- Add missing header information in ftplugin/mysql.vim
- Remove redundant code in ftplugin/sql.vim
fixes : vim/vim#15474
closes : vim/vim#15475
https://github.com/vim/vim/commit/fc762dfc9fa95696409067bcb565e846c9ccfc5a
Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com >
Signed-off-by: Riley Bruins <ribru17@hotmail.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2024-08-15 10:28:01 +00:00
Christian Clason and Adam Monsen
e7f8349a2e
vim-patch:9.1.0655: filetype: goaccess config file not recognized
...
Problem: filetype: goaccess config file not recognized
Solution: detect 'goaccess.conf' as goaccess filetype, also
include a basic syntax and ftplugin (Adam Monsen)
Add syntax highlighting for GoAccess configuration file.
GoAccess is a real-time web log analyzer and interactive viewer that
runs in a terminal in *nix systems or through your browser.
GoAccess home page: https://goaccess.io
closes : vim/vim#15414
https://github.com/vim/vim/commit/0aa65b48fbe64e18a767b207802483026baecb5d
Co-authored-by: Adam Monsen <haircut@gmail.com >
2024-08-03 00:16:22 +02:00
Christian Clason and Yinzuo Jiang
bd6bef60ba
vim-patch:e6471b4: runtime(cuda): source c and cpp ftplugins
...
closes : vim/vim#15383
https://github.com/vim/vim/commit/e6471b415b6b56f89624e6e0a6b7a17502109d0c
Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com >
2024-07-31 00:18:52 +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 Peter Aronoff
aa853f362a
vim-patch:a7295ae: runtime(autohotkey): include initial filetype plugin
...
closes : vim/vim#15345
https://github.com/vim/vim/commit/a7295ae7f5b956758f1c9c9a29d10c48661b29bc
Co-authored-by: Peter Aronoff <peter@aronoff.org >
2024-07-27 01:12:09 +02:00
Carman Fu
41b70a0dea
fix(runtime): set 'keywordprg' only once in vim ftplugin
2024-07-26 08:45:51 +08:00
Christian Clason and Christian Brabandt
e54f503c44
vim-patch:4266daa: runtime(mermaid): correct wrong comment options
...
fixes : vim/vim#15279
https://github.com/vim/vim/commit/4266daae1714b6770a4e20b0017d0da65ee3b346
Co-authored-by: Christian Brabandt <cb@256bit.org >
2024-07-19 08:17:47 +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