aboutsummaryrefslogtreecommitdiff
path: root/runtime/indent
Commit message (Collapse)AuthorAge
* vim-patch:9.2.0934: filetype: hlsl files are not recognizedzeertzjq2026-09-25
| | | | | | | | | | | | | Problem: filetype: hlsl files are not recognized Solution: Detect *.hlsl files hlsl filetype, include ftplugin, indent and syntax plugins, update gvim menu (Maxim Kim) closes: vim/vim#20993 https://github.com/vim/vim/commit/11fca33162ad2e6a6365dbf6202fb1af0f21b7cb Co-authored-by: Maxim Kim <habamax@gmail.com>
* vim-patch:9.2.0920: filetype: json-ld files are not recognizedzeertzjq2026-08-07
| | | | | | | | | | | | | | | Problem: filetype: json-ld files are not recognized Solution: Detect *.jsonld files as jsonld filetype, include filetype, indent and syntax plugins (Bogdan Barbu). Reference: https://www.w3.org/TR/json-ld11/ closes: vim/vim#20954 https://github.com/vim/vim/commit/a1e2198a2ca8bbddcad69ade8629f371bcb4cf1f Co-authored-by: Bogdan Barbu <l4b.bogdan.barbu@gmail.com>
* vim-patch:f26970c: runtime(karel): improve indent plugin (#41053)zeertzjq2026-07-29
| | | | | | | closes: vim/vim#20873 https://github.com/vim/vim/commit/f26970ce56f73a7770aa74a9c84f9ddd5ba84e6f Co-authored-by: Patrick Meiser-Knosowski <knosowski@graeffrobotics.de>
* vim-patch:4e3df44: runtime(indent-tests): Annotate timed "search*()"es for ↵zeertzjq2026-07-27
| | | | | | | | | | tracing related: vim/vim#17116 https://github.com/vim/vim/commit/4e3df44aa2a4f99c3c35e11371f7f1b2b6207558 Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>
* vim-patch:9.2.0788: filetype: hip files are not recognized (#40809)zeertzjq2026-07-18
| | | | | | | | | | | | | | | | | | | | | | | Problem: filetype: hip files are not recognized Solution: Detect *.hip files as hip filetype, include filetype, syntax and indent plugins, update makemenu.vim and synmenu.vim (Young) Round out HIP (Heterogeneous-compute Interface for Portability) support to mirror the existing CUDA files: - autoload/dist/ft.vim: detect the ".hip" extension as filetype "hip" - ftplugin/hip.vim: behave like C++ by sourcing ftplugin/cpp.vim - indent/hip.vim: use cindent, like indent/cuda.vim - makemenu.vim / synmenu.vim: add a Syntax menu entry The syntax/hip.vim file already sources syntax/cpp.vim and adds the HIP-specific keywords, matching syntax/cuda.vim. closes: vim/vim#20773 https://github.com/vim/vim/commit/b3ad239038ff1d3e1708b0027454b2ef6a86a8a2 Co-authored-by: Young <young20050727@gmail.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
* vim-patch:dd89754: runtime(typst): Improve ftplugin, and syntax filezeertzjq2026-07-02
| | | | | | | | | | | | | | | | | | - Move whitespace formatting settings from the indent to the filetype plugin behind a "typst_recommended_style" config option. - Set browsefilter - Improve syntax file Thanks to Maxim Kim for taking on maintainership of the typst runtime files. related: vim/vim#20036 closes: vim/vim#20077 https://github.com/vim/vim/commit/dd8975428bae4139d400df1ebac96aec65633089 Co-authored-by: Doug Kearns <dougkearns@gmail.com> Co-authored-by: Maxim Kim <habamax@gmail.com>
* vim-patch:91023ad: runtime(cabal): Update compiler, ftplugin, syntax, add ↵zeertzjq2026-06-27
| | | | | | | | | | indent script closes: vim/vim#20623 https://github.com/vim/vim/commit/91023adc67e13158ae1462485a400de787f7aefe Co-authored-by: Mateo Gjika <104777599+mateoxh@users.noreply.github.com>
* vim-patch:8181c6e: runtime(luau): runtime support is incompletezeertzjq2026-06-19
| | | | | | | | | | | Problem: runtime(luau): runtime support is incomplete. Solution: Add Luau syntax, indent, filetype plugin and indent tests. closes: vim/vim#20544 https://github.com/vim/vim/commit/8181c6e31387c0467fcd6394d1b7da07f38e737c Co-authored-by: Lopy <70210066+lopi-py@users.noreply.github.com>
* vim-patch:1fee3cd: runtime(beancount): Include Beancount runtime fileszeertzjq2026-06-14
| | | | | | | | | | | Include with adjustments from the upstream repo: https://github.com/nathangrigg/vim-beancount closes: vim/vim#20373 https://github.com/vim/vim/commit/1fee3cd4b9a38b18656933d38a4977548d27808b Co-authored-by: Bruno BELANYI <bruno@belanyi.fr>
* vim-patch:f31407f: runtime(karel): Add indent plugin for Karelzeertzjq2026-05-30
| | | | | | | | closes: vim/vim#20357 https://github.com/vim/vim/commit/f31407f9fa7e38ba63bc0c7abe532db98a21532b Co-authored-by: Patrick Meiser-Knosowski <knosowski@graeffrobotics.de>
* vim-patch:010a71b: runtime(zig): Update upstream repozeertzjq2026-05-26
| | | | | | | | related: vim/vim#20312 https://github.com/vim/vim/commit/010a71bb6072c6c99d311222f4960d403c982c47 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:cb0b4cf: Fix a few more typos (#39596)zeertzjq2026-05-04
| | | | | | | closes: vim/vim#20135 https://github.com/vim/vim/commit/cb0b4cf45c627263c844348a0ec6388dcfef9fcb Co-authored-by: Felipe Matarazzo <felipemps@protonmail.com>
* vim-patch:99ea2b5: runtime(handlebars): adds handlebars template syntax & ↵zeertzjq2026-03-06
| | | | | | | | | | | | | | | | | | | | indent support The runtime had support to detect handlebars (*.hbs) files as filetype handlebars but was lacking any indent or syntax highlighting for that filetype. The handlebars syntax file is also a prerequisite for the glimmer syntax. Permission was granted by the original author to retrofit these into the Vim runtime. Original License (MIT) maintained in code comments. related: vim/vim#19569 https://github.com/vim/vim/commit/99ea2b5b062edcb22ac0cd92c5ae317cc663a7ca Co-authored-by: Devin Weaver <suki@tritarget.org>
* vim-patch:5ed3723: runtime(ruby): Update for Vim 9.2 release (#37806)zeertzjq2026-02-10
| | | | | | | closes: vim/vim#19316 https://github.com/vim/vim/commit/5ed37232bb23245f6d59fa928a7654d3933a2f0a Co-authored-by: Doug Kearns <dougkearns@gmail.com>
* vim-patch:56d470a: runtime(lf): update syntax to support lf version r41 (#37750)zeertzjq2026-02-06
| | | | | | | | | Also, mark @CatsDeservePets as maintainer. closes: vim/vim#18640 https://github.com/vim/vim/commit/56d470a00863234f455fbfba6a96de4f49fe33aa Co-authored-by: CatsDeservePets <145048791+CatsDeservePets@users.noreply.github.com>
* vim-patch:663d809: runtime(rust): Fix Rust indentation when string contains "if"zeertzjq2026-01-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | indent/rust.vim behaves incorrectly when a string literal contains the substring "if". For example, in this code: let x = " motif "; struct X { } indent/rust.vim thinks that the closing "}" should line up with "motif". This patch fixes the issue by checking whether the "if" is in a string literal or comment before considering it to be a match for a subsequent brace (and also by requiring it to start on a word boundary). Add an indent test to ensure this does not regress. closes: vim/vim#19265 https://github.com/vim/vim/commit/663d809194b471ebbdd9e270086c6d0ca53da8fd Co-authored-by: taylor.fish <contact@taylor.fish>
* vim-patch:af973d4: runtime(yaml): fix indentation scriptzeertzjq2026-01-16
| | | | | | | | | | | | Problem: The indentation of Ansible Playbooks gets messed up after gg=G (after 9179ddc0608813e) Solution: Remove one shiftwidth() that seems to be misplaced. closes: vim/vim#19180 https://github.com/vim/vim/commit/af973d401803fb1110f699ced6df45b74fcaed2b Co-authored-by: Bjoern Foersterling <bjoern.foersterling@gmail.com>
* vim-patch:8e07908: runtime(sh): Update indent scriptzeertzjq2026-01-09
| | | | | | | | closes: vim/vim#19110 https://github.com/vim/vim/commit/8e079085d23c9ca5eb352519a1142f91d247ab55 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:9179ddc: runtime(yaml): update YAML indentation for mapping keys ↵zeertzjq2026-01-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | inside list items When a list item contains a mapping key (e.g., '- element1:'), the content under that key was incorrectly indented. The indent function was not accounting for the '- ' prefix when calculating indentation for nested content. Example that now works correctly: list: - element1: foo: bar # Now correctly at indent 6, not 4 The fix adds special handling in two places: 1. When previous line ends with ':' and starts with '- ' 2. When looking up previous mapping key that is a list item Fixes indentation to account for the 2-character '- ' prefix. fixes: vim/vim#18943 closes: vim/vim#19133 https://github.com/vim/vim/commit/9179ddc0608813e9dd7cf9ba856d61669d6f0e3a Co-authored-by: Cezar Dimoiu <cezar.dimoiu@keysight.com>
* vim-patch:5eb10c5: runtime(xml): update XML runtime fileszeertzjq2026-01-08
| | | | | | | | closes: vim/vim#19112 https://github.com/vim/vim/commit/5eb10c5359e05338050819b8229bd4c8af36d365 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:57352b2: runtime: mention subscription only ml, fix typo in ↵zeertzjq2026-01-03
| | | | | | | maintainer email (#37222) https://github.com/vim/vim/commit/57352b279d4de492dee4be07d6bc4a116599bbac Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:62d8f3d: runtime: Revert several "mark invalid contact addresses" ↵zeertzjq2026-01-02
| | | | | | | | | | | | | | | | | | | commits (#37192) This reverts commits: - 6b652a785033fd4164e049492a7327c1ed7c3e5f - 2f689d5abde0ccddca9e20d8c93a0299bd054e32 - a025a46d4169587145fb54f04af349cd05cb6122 Several email addresses that are known to be valid caused bounces due to an issue with my email setup. The previous commits incorrectly marked these addresses as invalid. So revert the whole thing again. https://github.com/vim/vim/commit/62d8f3dab5a0b30c31a8df86a973c5e59821a3f0 N/A patch: vim-patch:2f689d5: runtime: mark more invalid email addresses Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:a025a46: runtime: mark more invalid email addresseszeertzjq2026-01-01
| | | | | | https://github.com/vim/vim/commit/a025a46d4169587145fb54f04af349cd05cb6122 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:partial:2f689d5: runtime: mark more invalid email addresseszeertzjq2026-01-01
| | | | | | | | https://github.com/vim/vim/commit/2f689d5abde0ccddca9e20d8c93a0299bd054e32 Skip colors/ and syntax/help_ru.vim: missing previous changes. Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:5c2b594: runtime(rust): Update indentation after nested array ↵zeertzjq2025-12-31
| | | | | | | | | | literal (#37177) fixes: vim/vim#18974 closes: vim/vim#19042 https://github.com/vim/vim/commit/5c2b594d0e86e4484cc92bd415aedbef5749bd9e Co-authored-by: Brian Carbone <brian@briancarbone.com>
* vim-patch:1bc3610: runtime(rust): partly revert e426245b, it causes more ↵zeertzjq2025-12-29
| | | | | | | | | issues than it solves (#37156) related: vim/vim#18974 https://github.com/vim/vim/commit/1bc3610b0a59ea89d9f58f2abab9f9b1062c1698 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:e426245: runtime(rust): clean-up indent script, handle opening ↵zeertzjq2025-12-28
| | | | | | | | | empty line correctly (#37139) fixes: vim/vim#18974 https://github.com/vim/vim/commit/e426245bb38fbafb504d8bf9f327a28c2785897c Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:ee3f10a: runtime(bpftrace): add indention plugin (#37132)zeertzjq2025-12-28
| | | | | | | | | | Problem: No indention support when editing bpftrace files. Solution: Add indention settings based on cindent with custom options. closes: vim/vim#19030 https://github.com/vim/vim/commit/ee3f10af8727c0c3ed554b6cda0904673273c8fc Co-authored-by: Stanislaw Gruszka <stf_xl@wp.pl>
* vim-patch:f958d35: runtime(julia): Update Julia runtime files (#36876)zeertzjq2025-12-09
| | | | | | | | | | | | Port changes from JuliaEditorSupport/julia-vim made during 2022-2025. Most notably: - 88f178c Do not reset shiftwidth/expandtab at undo - f17257a Allow else block in try/catch - 7946ce3 Support public statements (added in Julia v1.11.0-DEV.469) https://github.com/vim/vim/commit/f958d357237970728e448a23df4cf831f97a9ae9 Co-authored-by: Sergio Alejandro Vargas <savargasqu+git@unal.edu.co>
* vim-patch:cce452f: runtime(lf): update syntax to support lf version r39 (#36790)zeertzjq2025-12-02
| | | | | | | closes: vim/vim#18846 https://github.com/vim/vim/commit/cce452f52d6b52b1f1b630206ba3b54a12465152 Co-authored-by: CatsDeservePets <145048791+CatsDeservePets@users.noreply.github.com>
* vim-patch:d128850: runtime(php): Update indent script to 1.76 (from 1.75)zeertzjq2025-11-21
| | | | | | | | | fixes: vim/vim#18739 (editor hang on mixed syntax style) closes: vim/vim#18758 https://github.com/vim/vim/commit/d1288503aa0099ab36802312c6dcf3e87751797a Co-authored-by: John Wellesz <john.wellesz@gmail.com>
* vim-patch:7dfdc7f: runtime(sml): add filetype plugin, move options from ↵zeertzjq2025-11-06
| | | | | | | | | indent to ftplugin (#36460) closes: vim/vim#18680 https://github.com/vim/vim/commit/7dfdc7f6cb802d5283e2e0eedb87932b9cd2cb33 Co-authored-by: tocariimaa <tocariimaa@pissmail.com>
* vim-patch:64c8105: runtime(rst): Preserve indentation of directiveszeertzjq2025-10-14
| | | | | | | | | | | | | | | | | | | This patch preserves indentation in comments. It work by removing the explicit 3-space indentation and replaces with with an expression which uses the current value with a minimum of three spaces. Discussed in the mailing list: https://groups.google.com/g/vim_dev/c/rn8ZLDrCbYU Thanks to Friedrich Romstedt for reporting and Christian Brabandt for investigating the issue. closes: vim/vim#18566 https://github.com/vim/vim/commit/64c8105867ae6342b632246ac5430a59521e740d Co-authored-by: Marshall Ward <marshall.ward@gmail.com>
* build(vim-patch.sh): ignore runtime/*/testdir/Eisuke Kawashima2025-09-27
| | | | tracked files are removed
* vim-patch:becf184: runtime(misc): removing saccarosium from maintainer list ↵zeertzjq2025-09-13
| | | | | | | | | (#35740) closes: vim/vim#17848 https://github.com/vim/vim/commit/becf1844e03462b2c997689caafc77bc9c812252 Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com>
* vim-patch:6505dc6: runtime(nu): Add new Nushell runtime fileszeertzjq2025-09-07
| | | | | | | | | | | | 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>
* vim-patch:7270a5a: runtime(racket): update Racket runtime fileszeertzjq2025-08-11
| | | | | | | | | | | | 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>
* vim-patch:eb59129: runtime(typescript): remove Fixedgq() function from ↵Phạm Bình An2025-06-06
| | | | | | | | | | | | | | | | | | | | | indent script (#34334) Problem: 1. The `Fixedgq()` function is broken (see vim/vim#17412) 2. The `'formatexpr'` for Typescript is not documented, which causes confusion to users when they try to set `'formatprg'`, since `'formatexpr'` always takes precedence over `'formatprg'`. See also https://github.com/HerringtonDarkholme/yats.vim/issues/209 3. Typescript already has a very good and popular formatter called `prettier`, that can be easily integrated to Vim via `'formatprg'` (see vim/vim#16989). I don't think there are any good reasons to reinvent a half-baked version in Vim. Solution: Remove the Fixedgq() 'formatexpr' function. fixes: vim/vim#17412 closes: vim/vim#17452 https://github.com/vim/vim/commit/eb59129d2c06fd6627f537fce4fb8660cc8d0cda
* vim-patch:c8b7e61: runtime: Add license information for HCL and Terraform ↵Christian Clason2025-05-26
| | | | | | | | | | | runtime files fixes: vim/vim#17372 closes: vim/vim#17377 https://github.com/vim/vim/commit/c8b7e6129a057fbcbff0d9e73dd8a476fd97a813 Co-authored-by: Gregory Anders <greg@gpanders.com>
* vim-patch:7bc9880: runtime(make): do not automatically indent after a ↵Christian Clason2025-04-23
| | | | | | | | | | | | special target prevent indentation if the previous line starts with e.g. `.PHONY:` closes: vim/vim#17183 https://github.com/vim/vim/commit/7bc988067eff6657e6f047491cadb32e0829544d Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
* vim-patch:fbbaa6e: runtime: set 'cpoptions' for line-continuation in various ↵Christian Clason2025-04-17
| | | | | | | | | | runtime files closes: vim/vim#17121 https://github.com/vim/vim/commit/fbbaa6ebe92b938f1f9ef008571c330a8d29166a Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
* vim-patch:9.1.1231: filetype: SPA JSON files are not recognizedChristian Clason2025-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: filetype: SPA (single page application) JSON files are not recognized (used by pipewire and wireplumber) Solution: detect pipewire and wireplumber configuration files as spajson filetype, include filetype, indent and syntax scripts for this new filetype (David Mandelberg). I looked at all the files found by this command to see if the syntax highlighting looked reasonable: ``` find {~/.config,/etc,/usr/share}/{pipewire,wireplumber} -type f -name \*.conf ``` References: * pipewire config files: https://docs.pipewire.org/page_config.html * wireplumber config files: https://pipewire.pages.freedesktop.org/wireplumber/daemon/configuration/conf_file.html and * https://pipewire.pages.freedesktop.org/wireplumber/daemon/locations.html closes: vim/vim#16950 https://github.com/vim/vim/commit/4e7b4308fb92628434bd7e07ab92910c33051431 Co-authored-by: David Mandelberg <david@mandelberg.org>
* vim-patch:40ab82b: runtime(sh): remove invalid commented out line in syntax ↵Christian Clason2025-03-19
| | | | | | | | script https://github.com/vim/vim/commit/40ab82b974a31ab483abee6357d97d9018d775a7 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:711f4a0: runtime(sh): update sh indent scriptChristian Clason2025-03-19
| | | | | | | | fixes: vim/vim#16930 https://github.com/vim/vim/commit/711f4a07f356cbe6f1d6d67994519f0b36a100f2 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:9.1.1140: filetype: m17ndb files are not detected (#32618)zeertzjq2025-02-25
| | | | | | | | | | | | | | | | | | | | Problem: filetype: m17ndb files are not detected Solution: detect m17ndb files as m17ndb filetype, include filetype, syntax and indent files for the new filetype (David Mandelberg). References: https://www.nongnu.org/m17n/manual-en/m17nDBFormat.html describes the format. https://git.savannah.nongnu.org/cgit/m17n/m17n-db.git/tree/ has examples of the files. closes: vim/vim#16696 https://github.com/vim/vim/commit/ed7d8e55ac232758fc14fd132994b4a09b19350b Also adjust the xkb parent pattern according to dev_vimpatch.txt. Co-authored-by: David Mandelberg <david@mandelberg.org>
* vim-patch:9.1.1042: filetype: just files are not recognizedChristian Clason2025-01-23
| | | | | | | | | | | | | Problem: filetype: just files are not recognized Solution: adjust filetype detection pattern, detect just shebang line, include just ftplugin, indent and syntax plugin (Peter Benjamin) closes: vim/vim#16466 https://github.com/vim/vim/commit/72755b3c8e91ec90447969b736f080e0de36003d Co-authored-by: Peter Benjamin <petermbenjamin@gmail.com>
* vim-patch:4ce1cb5: runtime(graphql): contribute vim-graphql to Vim coreChristian Clason2024-12-23
| | | | | | | | | | | | | | | | | | | Contribute the core of my vim-graphql project (ftplugin, indent, syntax) to the Vim project. This replaces the basic ftplugin support that was already in the runtime with a more complete set of filetype settings. I can assume maintainership for all of these files. I'll continue to maintain the higher-level embedded filetype support separately (in vim-graphql) for now, because it's fairly complex, but we can consider integrating that code directly into vim later. runtime files use the MIT license. closes: vim/vim#16273 https://github.com/vim/vim/commit/4ce1cb5bf1dc507224792543d8e56e6ab431a2b5 Co-authored-by: Jon Parise <jon@indelible.org>
* vim-patch:b66cac1: runtime(typst): add definition lists to formatlistpat, ↵Christian Clason2024-12-10
| | | | | | | | | | update maintainer closes: vim/vim#16192 https://github.com/vim/vim/commit/b66cac1a8ed8636a38e867226f5bb621c96ff322 Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com>
* docs: misc (#31138)dundargoc2024-11-21
| | | Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* vim-patch:0acd3ab: runtime(sh): better function support for bash/zsh in ↵Christian Clason2024-11-15
| | | | | | | | | | indent script closes: vim/vim#16052 https://github.com/vim/vim/commit/0acd3abfadf54a97a3cad999791603aa6a8b2248 Co-authored-by: Lukas Zapletal <lzap+git@redhat.com>