mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00
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:
@@ -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',
|
||||
|
Reference in New Issue
Block a user