Friday, October 28, 2011

Add support for dash in scripts.vim

--- /usr/share/vim/vim73/scripts.vim 2011-10-18 23:47:43.000000000 +0200
+++ scripts.vim 2011-10-28 22:21:55.078699708 +0200
@@ -60,8 +60,8 @@
let s:name = 'wish'
endif

- " Bourne-like shell scripts: bash bash2 ksh ksh93 sh
- if s:name =~ '^\(bash\d*\|\|ksh\d*\|sh\)\>'
+ " Bourne-like shell scripts: bash bash2 ksh ksh93 sh dash
+ if s:name =~ '^\(bash\d*\|\|ksh\d*\|sh\|dash\)\>'
call SetFileTypeSH(s:line1) " defined in filetype.vim

" csh scripts
Hello,

It would be nice to add support for *dash* (see attached patch).

Peace,
--
Bastien

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: