diff options
author | Alex Vear <alex@vear.uk> | 2022-01-01 11:38:42 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-01 11:38:42 +0000 |
commit | 654b729c4c9951f2a46c161d1e9fefdc223fc94e (patch) | |
tree | 31d7362c145637aa0db02578a905109f87fc5f63 /runtime | |
parent | 096ca73dacd748a65d080197b842eef6f4423096 (diff) | |
download | vim-git-654b729c4c9951f2a46c161d1e9fefdc223fc94e.tar.gz |
patch 8.2.3964: some common lisp and scheme files not recognizedv8.2.3964
Problem: Some common lisp and scheme files not recognized.
Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear,
closes #9447)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 84c5f4a61..d34db183d 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -963,9 +963,9 @@ au BufNewFile,BufRead lilo.conf setf lilo " Lisp (*.el = ELisp, *.cl = Common Lisp) " *.jl was removed, it's also used for Julia, better skip than guess wrong. if has("fname_case") - au BufNewFile,BufRead *.lsp,*.lisp,*.el,*.cl,*.L,.emacs,.sawfishrc setf lisp + au BufNewFile,BufRead *.lsp,*.lisp,*.asd,*.el,*.cl,*.L,.emacs,.sawfishrc setf lisp else - au BufNewFile,BufRead *.lsp,*.lisp,*.el,*.cl,.emacs,.sawfishrc setf lisp + au BufNewFile,BufRead *.lsp,*.lisp,*.asd,*.el,*.cl,.emacs,.sawfishrc setf lisp endif " SBCL implementation of Common Lisp @@ -1669,7 +1669,7 @@ au BufNewFile,BufRead .zshrc,.zshenv,.zlogin,.zlogout,.zcompdump setf zsh au BufNewFile,BufRead *.zsh setf zsh " Scheme -au BufNewFile,BufRead *.scm,*.ss,*.rkt,*.rktd,*.rktl setf scheme +au BufNewFile,BufRead *.scm,*.ss,*.sld,*.rkt,*.rktd,*.rktl setf scheme " Screen RC au BufNewFile,BufRead .screenrc,screenrc setf screen |