comparison runtime/filetype.vim @ 26871:c8d32e12c934 v8.2.3964

patch 8.2.3964: some common lisp and scheme files not recognized Commit: https://github.com/vim/vim/commit/654b729c4c9951f2a46c161d1e9fefdc223fc94e Author: Alex Vear <alex@vear.uk> Date: Sat Jan 1 11:38:42 2022 +0000 patch 8.2.3964: some common lisp and scheme files not recognized Problem: Some common lisp and scheme files not recognized. Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear, closes #9447)
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 12:45:03 +0100
parents edb7d53fc7e3
children 959f943e6dd1
comparison
equal deleted inserted replaced
26870:e1aba7b30bbe 26871:c8d32e12c934
961 au BufNewFile,BufRead lilo.conf setf lilo 961 au BufNewFile,BufRead lilo.conf setf lilo
962 962
963 " Lisp (*.el = ELisp, *.cl = Common Lisp) 963 " Lisp (*.el = ELisp, *.cl = Common Lisp)
964 " *.jl was removed, it's also used for Julia, better skip than guess wrong. 964 " *.jl was removed, it's also used for Julia, better skip than guess wrong.
965 if has("fname_case") 965 if has("fname_case")
966 au BufNewFile,BufRead *.lsp,*.lisp,*.el,*.cl,*.L,.emacs,.sawfishrc setf lisp 966 au BufNewFile,BufRead *.lsp,*.lisp,*.asd,*.el,*.cl,*.L,.emacs,.sawfishrc setf lisp
967 else 967 else
968 au BufNewFile,BufRead *.lsp,*.lisp,*.el,*.cl,.emacs,.sawfishrc setf lisp 968 au BufNewFile,BufRead *.lsp,*.lisp,*.asd,*.el,*.cl,.emacs,.sawfishrc setf lisp
969 endif 969 endif
970 970
971 " SBCL implementation of Common Lisp 971 " SBCL implementation of Common Lisp
972 au BufNewFile,BufRead sbclrc,.sbclrc setf lisp 972 au BufNewFile,BufRead sbclrc,.sbclrc setf lisp
973 973
1667 au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh 1667 au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh
1668 au BufNewFile,BufRead .zshrc,.zshenv,.zlogin,.zlogout,.zcompdump setf zsh 1668 au BufNewFile,BufRead .zshrc,.zshenv,.zlogin,.zlogout,.zcompdump setf zsh
1669 au BufNewFile,BufRead *.zsh setf zsh 1669 au BufNewFile,BufRead *.zsh setf zsh
1670 1670
1671 " Scheme 1671 " Scheme
1672 au BufNewFile,BufRead *.scm,*.ss,*.rkt,*.rktd,*.rktl setf scheme 1672 au BufNewFile,BufRead *.scm,*.ss,*.sld,*.rkt,*.rktd,*.rktl setf scheme
1673 1673
1674 " Screen RC 1674 " Screen RC
1675 au BufNewFile,BufRead .screenrc,screenrc setf screen 1675 au BufNewFile,BufRead .screenrc,screenrc setf screen
1676 1676
1677 " Sexplib 1677 " Sexplib