vim-patch:9.1.0235: filetype: supertux files are not recognized

Problem:  filetype: supertux files are not recognized
Solution: Supertux uses lisp to store hotkeys in config and game stage information,
          so add a pattern for supertux files.
          (Wu, Zhenyu)

Reference: https://github.com/SuperTux/supertux/wiki/S-Expression

closes: vim/vim#14356

4ff83b904e

Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
Christian Clason
2024-03-31 19:03:13 +02:00
parent c24dcb1bea
commit 96d77b2051
2 changed files with 3 additions and 1 deletions

View File

@@ -620,6 +620,7 @@ local extension = {
el = 'lisp',
lsp = 'lisp',
asd = 'lisp',
stsg = 'lisp',
lt = 'lite',
lite = 'lite',
livemd = 'livebook',
@@ -1761,6 +1762,7 @@ local pattern = {
['.*/etc/.*limits%.conf'] = 'limits',
['.*/etc/limits'] = 'limits',
['.*/etc/.*limits%.d/.*%.conf'] = 'limits',
['.*/supertux2/config'] = 'lisp',
['.*/LiteStep/.*/.*%.rc'] = 'litestep',
['.*/etc/login%.access'] = 'loginaccess',
['.*/etc/login%.defs'] = 'logindefs',