diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-03-31 19:03:13 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-04-01 12:01:47 +0200 |
commit | 96d77b2051a660e79d2d57c33d6c2b448d996838 (patch) | |
tree | c80ca8dcd02477a1d1180e0d4c6ab57c4846377b /runtime/lua | |
parent | c24dcb1bea1fcd7384ccb09bd3bd1d25db51f890 (diff) | |
download | rneovim-96d77b2051a660e79d2d57c33d6c2b448d996838.tar.gz rneovim-96d77b2051a660e79d2d57c33d6c2b448d996838.tar.bz2 rneovim-96d77b2051a660e79d2d57c33d6c2b448d996838.zip |
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
https://github.com/vim/vim/commit/4ff83b904ea579e51a0da5d2c6c3873ccef4ac0e
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime/lua')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 13a3953e8a..8237674ef3 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -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', |