forked from aniani/vim
patch 9.0.2179: no filetype detection for execline scripts
Problem: no filetype detection for execline scripts Solution: Add filetype detection for execline as a prior to adding syntax support for execline (see https://github.com/djpohly/vim-execline/issues/2), i went ahead and made the filetype detection for execline scripts. closes: #13689 Signed-Off-By: Mazunki Hoksaas <rolferen@gmail.com> Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
615202bd0e
commit
63210c214a
@@ -497,6 +497,10 @@ if has("fname_case")
|
||||
au BufNewFile,BufRead *.EU,*.EW,*.EX,*.EXU,*.EXW call dist#ft#EuphoriaCheck()
|
||||
endif
|
||||
|
||||
" Execline (s6) scripts
|
||||
au BufNewFile,BufRead *s6*/\(up\|down\|run\|finish\) setf execline
|
||||
au BufNewFile,BufRead s6-* setf execline
|
||||
|
||||
" Lynx config files
|
||||
au BufNewFile,BufRead lynx.cfg setf lynx
|
||||
|
||||
|
||||
Reference in New Issue
Block a user