mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
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
e62d93ead1
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:

committed by
Christian Clason

parent
c51bf5a6b2
commit
14ee1de7e5
@@ -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',
|
||||
|
Reference in New Issue
Block a user