forked from aniani/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: #16287
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
084529c03d
commit
e62d93ead1
@@ -429,7 +429,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
limits: ['/etc/limits', '/etc/anylimits.conf', '/etc/anylimits.d/file.conf', '/etc/limits.conf', '/etc/limits.d/file.conf', '/etc/some-limits.conf', '/etc/some-limits.d/file.conf', 'any/etc/limits', 'any/etc/limits.conf', 'any/etc/limits.d/file.conf', 'any/etc/some-limits.conf', 'any/etc/some-limits.d/file.conf'],
|
||||
liquidsoap: ['file.liq'],
|
||||
liquid: ['file.liquid'],
|
||||
lisp: ['file.lsp', 'file.lisp', 'file.asd', 'file.el', '.emacs', '.sawfishrc', 'sbclrc', '.sbclrc', 'file.stsg', 'any/local/share/supertux2/config'],
|
||||
lisp: ['file.lsp', 'file.lisp', 'file.asd', 'file.el', '.emacs', '.sawfishrc', 'sbclrc', '.sbclrc'],
|
||||
lite: ['file.lite', 'file.lt'],
|
||||
litestep: ['/LiteStep/any/file.rc', 'any/LiteStep/any/file.rc'],
|
||||
logcheck: ['/etc/logcheck/file.d-some/file', '/etc/logcheck/file.d/file', 'any/etc/logcheck/file.d-some/file', 'any/etc/logcheck/file.d/file'],
|
||||
@@ -671,7 +671,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
sather: ['file.sa'],
|
||||
sbt: ['file.sbt'],
|
||||
scala: ['file.scala'],
|
||||
scheme: ['file.scm', 'file.ss', 'file.sld'],
|
||||
scheme: ['file.scm', 'file.ss', 'file.sld', 'file.stsg', 'any/local/share/supertux2/config'],
|
||||
scilab: ['file.sci', 'file.sce'],
|
||||
screen: ['.screenrc', 'screenrc'],
|
||||
scss: ['file.scss'],
|
||||
|
||||
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
958,
|
||||
/**/
|
||||
957,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user