summaryrefslogtreecommitdiffstats
path: root/runtime/syntax
AgeCommit message (Collapse)Author
2023-12-16runtime(racket): update Racket runtime files (#13693)D. Ben Knoble
This brings the included Racket runtime files to commit 43bfc87 (update headers, 2023-12-15) of https://github.com/benknoble/vim-racket. Note that not all files from that repository are included. (In particular, the ftdetect script is omitted for now.) Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-14runtime(cmake): sync runtime files with upstream (#13597)Eisuke Kawashima
Signed-off-by: e-kwsm@users.noreply.github.com Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-12runtime(vim): Update syntax file, fix missing for highlight (#13668)dkearns
Fix highlighting of :for command. Link the vimFor syntax group to the vimCommand highlight group. Error introduced in commit f686921 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-10runtime(vim): Update syntax file (#13653)dkearns
Improve variable highlighting in :let, :unlet, :const and :for commands. Match registers and local, global and terminal option variables. Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-08runtime(syntax): unlet b:filetype_in_cpp_family for cpp & squirrellaburnumT
Update runtime/syntax/cpp.vim and runtime/syntax/squirrel.vim to unlet b:filetype_in_cpp_family as it remains set even after updating the ft of a file manually or through a modeline, not allowing c specific keywords to be highlighted. Since the variable b:filetype_in_cpp_family is only used by the c.vim syntax script, unlet it directly after sourcing the c.vim runtime file instead of at the end of the script. Also update the last Change Header for both files. closes: #13650 Signed-off-by: laburnumT <laburnumtec@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-05runtime(fortran): update syntax and ftpluginsAjit-Thakkar
closes: #13629 Signed-off-by: Ajit-Thakkar <142174202+Ajit-Thakkar@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-05runtime(vim): Update syntax file and syntax test (#13632)dkearns
Add missing assignment operators (:let*=, :let/= and :let%=). Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-04patch 9.0.2148: Vim does not detect pacman.log filev9.0.2148Ronan Pigott
Problem: Vim does not detect pacman.log file Solution: Detect pacmanlogs and add syntax highlighting pacman.log is a filetype common to Arch Liux and related distributions. Add some simple syntax highlighting for the pacmanlog filetype. closes: #13618 Signed-off-by: Ronan Pigott <ronan@rjp.ie> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-30runtime(syntax-test): ci fails, disable html test for nowChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-28runtime(html): Update syntax file (#13591)dkearns
Add missing search element and update ARIA attribute list. Add a very basic test file to check all elements are matched. Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-26runtime(nginx): add additional nginx keywords (#13581)Chris Aumann
* Add support for missing keywords to the nginx syntax plugin This adds support for several keywords from - the built-in HTTP/2 module, - the built-in SSL module, - the built-in uWSGI module, - the experimental QUIC branch, - the third-party SSL CT module, - the third-party dynamic TLS records patch. Co-Author: ObserverOfTime <chronobserver@disroot.org> * Add missing http2/ http3 keywords to nginx plugin Co-authored-by: Christian Brabandt <cb@256bit.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-25patch 9.0.2128: runtime(swig): add syntax and filetype pluginsv9.0.2128Julien Marrec
Add syntax and filetype plugins for SWIG (Simplified Wrapper Interface Generator) description files. The default syntax for .i files highlights comments in a reverse color scheme which doesn't look well. This syntax builds on vim's c++ syntax by adding highlighting for common swig directives and user defined directives. For an alternative syntax, see vimscript #1247 (which I found after writing this). closes: #13562 Co-authored-by: Matěj Cepl <mcepl@cepl.eu> Co-authored-by: Julien Marrec <julien.marrec@gmail.com> Signed-off-by: Julien Marrec <julien.marrec@gmail.com> Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-21runtime(vim): Improve keymap file highlighting (#13550)dkearns
- Match :loadkeymap to EOF as a region and contain only allowed items. - Add highlighting for <Char- notation. - add basic syntax highlighting tests Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-14patch 9.0.2104: wast filetype should be replaced by wat filetypev9.0.2104rhysd
Problem: wast filetype should be replaced by wat filetype Solution: start using the official wat filetype name runtime: rename `wast` filetype to `wat` (Wasm text format) The problem is the name of the current filetype wast. When the plugin was initially created, the file extension for Wasm text format was not fixed and .wast was more popular. However, recently .wat became the official file extension for WebAssembly text (WAT) format and .wast is now a file extension for the unofficial WAST format, which is a superset of .wat for the convenience to describe the Wasm specification conformance tests. https://webassembly.js.org/docs/contrib-wat-vs-wast.html However for now, let's keep using the `wat` filetype even for the .wast extension, so that we at least do not lose the filetype settings and syntax highlighting. This can be adjusted later, if it turns out to have a separate need for. closes: #13533 Signed-off-by: rhysd <lin90162@yahoo.co.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-11runtime(lynx): Update for Lynx 2.8.9 (#13510)dkearns
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-11runtime(vim): Improve :let-heredoc syntax highlighting (#12923)dkearns
"trim" and "eval" are allowed in any order and whitespace is not required after "=<<". Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-11runtime(i3config): Update for i3 4.23 (#13522)Ivan Grimaldi
Co-authored-by: Ivan Grimaldi <grimaldi.ivam@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-11patch 9.0.2098: No filetype support for xcompose filesv9.0.2098ObserverOfTime
Problem: No filetype support for xcompose files Solution: Add filetype detection closes: #13508 Signed-off-by: ObserverOfTime <chronobserver@disroot.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-08runtime(wget): Update for Wget2 2.1.0 (#13497)dkearns
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-04runtime(sh): Update sh syntax and add shDerefOffset to shDerefVarArray for ↵Lucien Grondin
bash (#13480) Add shDerefOffset to shDerefVarArray. Example code: ```bash declare -a a=({a..z}) echo "${a[@]:1:3}" ``` Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-02runtime(sh) Update sh syntax and add shDblParen to shCaseList (#13469)Lucien Grondin
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-02runtime(debversions): Add noble (24.04 LTS) as Ubuntu release name (#13472)James McCoy
Signed-off-by: James McCoy <jamessan@debian.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-28runtime(sh): add shDblParen to shLoopList for bash (#13445)Lucien Grondin
add shDblParen to shLoopList to correctly highlight arithmetic expressions for Bash and Ksh This should allow code such as: ```bash declare -i i j for i in foo bar do ((j = 1 << j)) done ``` Signed-off-by: Lucien Grondin <grondilu@yahoo.fr> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-26runtime(debian): update debian related runtime files (#13423)James McCoy
* Update Debian runtime files Add mantic as a supported Ubuntu release and move buster/kinetic to unsupported. Add syntax highlighting for deb822sources filetype. Add debsources ftplugin to set relevant comment options. Move common version information to shared/debversions.vim Closes #11934 Co-authored-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Co-authored-by: James Addison <jay@jp-hosting.net> Co-authored-by: Viktor Szépe <viktor@szepe.net> Signed-off-by: James McCoy <jamessan@jamessan.com> * Add myself as codeowner for Debian-related runtime files Signed-off-by: James McCoy <jamessan@jamessan.com> --------- Signed-off-by: James McCoy <jamessan@jamessan.com> Co-authored-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Co-authored-by: James Addison <jay@jp-hosting.net> Co-authored-by: Viktor Szépe <viktor@szepe.net> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-19runtime(zig): Update Zig runtime files (#13388)Gregory Anders
Update runtime files from upstream (https://github.com/zig/zig.vim) at commit 54c216e5306a5c3878a60596aacb94dca8652ab9. Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-17runtime(json5): include syntax script for json5 (#13356)Rolf Vidar Mazunki Hoksaas
Merging syntax file from gutenye/json5.vim, modified to include proper vim header. See: https://github.com/vim/vim/issues/8499 Signed-off-by: Mazunki Hoksaas <rolferen@gmail.com> Co-authored-by: Guten Ye <ywzhaifei@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-16runtime: Fix more typos (#13354)Viktor Szépe
* Fix more typos * Fix typos in ignored runtime/ directory Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-27runtime(swayconfig): Update syntax file (#13192)Josef Litoš
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-27runtime(i3config): update i3config syntax (#13191)Josef Litoš
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-27runtime(rmd) Update ftplugin and syntax files (#13193)Jakson Alves de Aquino
ftplugin/rmd.vim: - Set 'commentstring' dynamically according to code region. syntax/rmd.vim: - Include syntax highlighting of fenced languages dynamically. - Add conceal char for line break. Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-24patch 9.0.1929: runtime tests fail with tiny vimv9.0.1929Dominique Pellé
Problem: runtime tests fail with tiny vim Solution: check for tiny vim, run runtime tests in CI even for tiny version closes: #13169 closes: #13170 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Dominique Pellé <dominique.pelle@tomtom.com>
2023-09-17runtime(kotlin): Add Kotlin runtime files (#13110)dkearns
Closes udalov/kotlin-vim#39 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-15runtime(vim): Highlight all :loadkeymap abbreviations in vim syntax (#13092)dkearns
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-12runtime(swayconfig): improve syntax highlighting (#13060)Josef Litoš
* syntax(swayconfig): improved highlighting * syntax(swayconfig): adapt to i3config structure Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-12runtime(rust): sync rust runtime files with upstream (#13075)Gregory Anders
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-12runtime(i3config): syntax structure cleanup (#13080)Josef Litoš
* syntax(i3config): improved i3config highlighting * syntax(i3config): refactor structure Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-11syntax(i3config): improved i3config highlighting (#13054)Josef Litoš
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-10runtime(masm): add support for AVX-2 and AVX-512 (#13061)Wu Yongwei
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-10patch 9.0.1891: No runtime support for Mojov9.0.1891Mahmoud Abduljawad
Problem: No runtime support for Mojo Solution: Add basic filetype and syntax plugins closes: #13062 closes: #13063 Signed-off-by: Christian Brabandt <cb@256bit.org> Signed-off-by: Doug Kearns <dougkearns@gmail.com> Co-authored-by: Mahmoud Abduljawad <mahmoud@masaar.com>
2023-09-10runtime(scala): Fix Scala highlighting string literal as type param (#13070)Emil Ejbyfeldt
Since https://docs.scala-lang.org/sips/42.type.html which is implemented in Scala 2.13 and in Scala 3 it possible to use string literals as singleton types. So code like ``` someFunc["abc"] ``` is valid. Currently this code is not hightlighted correctly and worse if there is an unclosed `(` in the string it breaks the formating in the rest of the file. I also submitted this patch to the mentioned project for this runtime file: https://github.com/derekwyatt/vim-scala/pull/173 But there are no commits there over the last 2 years and no response in the week since I created it. Also the last change to the Scala syntax file: https://github.com/vim/vim/pull/9594 is yet to be backported to that repo. Therefore I am opening this PR as well to get some feedback on how to proceed to get this fixed. Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-09runtime(nasm): updated syntax fileAndrii Sokolov
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-08runtime(tohtml): Update TOhtml to version 9.0v2 (#13050)fritzophrenic
Modified behavior: - Change default value of g:html_use_input_for_pc from "fallback" to "none". This means with default settings, only the standards-based method to make special text unselectable is used. The old method relying on unspecified browser behavior for <input> tags is now only used if a user specifically enables it. - Officially deprecate g:use_xhtml option (in favor of g:html_use_xhtml) by issuing a warning message when used. Bugfixes: - Fix issue #8547: LineNr and other special highlight groups did not get proper style rules defined when using "hi link". - Fix that diff filler was not properly added for deleted lines at the end of a buffer. Other: - Refactored function definitions from long lists of strings to use :let-heredoc variable assignment instead. - Corrected deprecated "." string concatenation operator to ".." operator in more places. Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-01runtime(zserio): add zserio syntax (#13005)Dominique Pellé
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-01runtime(ruby): Update syntax, indent and ftplugin filesDoug Kearns
While making changes to the ruby ftplugin, slightly change the exepath() conditional from patch 9.0.1833 and move it after the :cd invocation. closes: 12981 closes: 12994 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Tim Pope <code@tpope.net> Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2023-08-31runtime(forth): Update syntax and ftplugin files (#12976)dkearns
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-08-26runtime(typescript): Fix highlighting symbols after number literal (#12911)Herrington Darkholme
fixes #12831 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-08-23runtime: Remove Brams name from a few more runtime files (#12780)Christian Brabandt
syntax/model.vim: minor wording improvement Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl>
2023-08-23runtime: Fix typos in various filesViktor Szépe
closes: #12836 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Viktor Szépe <viktor@szepe.net>
2023-08-22runtime(bindzone): updated syntax fileOskar Stenman
- Add support for APL type in runtime/syntax/bindzone.vim - all values between 0- 4294967295 are valid serials closes: #9743 closes: #8382 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-08-22runtime(cmake) Recognize add_compile_definitions in syntax script (#10416)MichaWiedenmann
Signed-off-by: Christian Brabandt <cb@256bit.org>