comparison runtime/filetype.vim @ 34713:cd116bc9ef9d v9.1.0235

patch 9.1.0235: filetype: supertux files are not recognized Commit: https://github.com/vim/vim/commit/4ff83b904ea579e51a0da5d2c6c3873ccef4ac0e Author: Wu, Zhenyu <wuzhenyu@ustc.edu> Date: Sun Mar 31 18:58:34 2024 +0200 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: #14356 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 31 Mar 2024 19:15:02 +0200
parents 5dda9461d770
children 6e5a5af31ac9
comparison
equal deleted inserted replaced
34712:250d0141b60c 34713:cd116bc9ef9d
1201 au BufNewFile,BufRead *.ly,*.ily setf lilypond 1201 au BufNewFile,BufRead *.ly,*.ily setf lilypond
1202 1202
1203 " Lisp (*.el = ELisp, *.cl = Common Lisp) 1203 " Lisp (*.el = ELisp, *.cl = Common Lisp)
1204 " *.jl was removed, it's also used for Julia, better skip than guess wrong. 1204 " *.jl was removed, it's also used for Julia, better skip than guess wrong.
1205 if has("fname_case") 1205 if has("fname_case")
1206 au BufNewFile,BufRead *.lsp,*.lisp,*.asd,*.el,*.cl,*.L,.emacs,.sawfishrc setf lisp 1206 au BufNewFile,BufRead *.lsp,*.lisp,*.asd,*.el,*.cl,*.L,.emacs,.sawfishrc,*.stsg,*/supertux2/config setf lisp
1207 else 1207 else
1208 au BufNewFile,BufRead *.lsp,*.lisp,*.asd,*.el,*.cl,.emacs,.sawfishrc setf lisp 1208 au BufNewFile,BufRead *.lsp,*.lisp,*.asd,*.el,*.cl,.emacs,.sawfishrc,*.stsg,*/supertux2/config setf lisp
1209 endif 1209 endif
1210 1210
1211 " SBCL implementation of Common Lisp 1211 " SBCL implementation of Common Lisp
1212 au BufNewFile,BufRead sbclrc,.sbclrc setf lisp 1212 au BufNewFile,BufRead sbclrc,.sbclrc setf lisp
1213 1213