diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-12-24 10:31:35 +0100 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2024-12-24 11:55:06 +0100 |
commit | 14ee1de7e58276be4b80bc262cd0435eb9eeb01c (patch) | |
tree | 67b063a0b924d3690e5c9e31ad4fcf8ac9aa967b /runtime/lua/vim | |
parent | c51bf5a6b24928ac04d0bb129b1b424d4c78f28d (diff) | |
download | rneovim-14ee1de7e58276be4b80bc262cd0435eb9eeb01c.tar.gz rneovim-14ee1de7e58276be4b80bc262cd0435eb9eeb01c.tar.bz2 rneovim-14ee1de7e58276be4b80bc262cd0435eb9eeb01c.zip |
vim-patch:9.1.0958: filetype: supertux2 config files detected as lisp
Problem: filetype: supertux2 config files detected as lisp
Solution: detect supertux2 config files as scheme instead
(Wu, Zhenyu)
References:
https://github.com/SuperTux/supertux/wiki/S-Expression
supertux uses #t and #f as bool type, which is same as scheme, not
common lisp
closes: vim/vim#16287
https://github.com/vim/vim/commit/e62d93ead10b4c5818e3c0b7551f1784d24bfe33
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 6fa1684704..80d25fe515 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -699,7 +699,6 @@ local extension = { el = 'lisp', lsp = 'lisp', asd = 'lisp', - stsg = 'lisp', lt = 'lite', lite = 'lite', livemd = 'livebook', @@ -1072,6 +1071,7 @@ local extension = { ss = 'scheme', scm = 'scheme', sld = 'scheme', + stsg = 'scheme', sce = 'scilab', sci = 'scilab', scss = 'scss', @@ -2159,8 +2159,8 @@ local pattern = { ['/gitolite%-admin/conf/'] = starsetf('gitolite'), ['/%.i3/config$'] = 'i3config', ['/i3/config$'] = 'i3config', - ['/supertux2/config$'] = 'lisp', ['/%.mplayer/config$'] = 'mplayerconf', + ['/supertux2/config$'] = 'scheme', ['/neofetch/config%.conf$'] = 'sh', ['/%.ssh/config$'] = 'sshconfig', ['/%.sway/config$'] = 'swayconfig', |