diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-07-11 09:18:20 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-07-13 23:22:19 +0000 |
commit | ca2ab5e446bcf40e18de4390ee1b47c8295b5728 (patch) | |
tree | 660a723a9ae314d877ad32c5970d6c257a3ad1a8 /Doc/Zsh | |
parent | 35ffe36318955d03fca3df0d34a0997970cfc6a3 (diff) | |
download | zsh-ca2ab5e446bcf40e18de4390ee1b47c8295b5728.tar.gz zsh-ca2ab5e446bcf40e18de4390ee1b47c8295b5728.tar.xz zsh-ca2ab5e446bcf40e18de4390ee1b47c8295b5728.zip |
35775: New zsh-specific yodl vim syntax highlighting.
To try this, see the instructions at the top of Util/zyodl.vim (in the comment). * Util/zyodl.vim: New syntax highlighting file. * Doc/Zsh/.vimrc: New file, hooks up zyodl.vim for automatic loading. * Etc/zsh-development-guide: Namedrop zyodl.vim for discoverability.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/.vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/Zsh/.vimrc b/Doc/Zsh/.vimrc new file mode 100644 index 000000000..6544cd450 --- /dev/null +++ b/Doc/Zsh/.vimrc @@ -0,0 +1,4 @@ +augroup filetypedetect + autocmd BufRead,BufNewFile **/Doc/Zsh/*.yo set ft=zyodl | source <sfile>:h:h:h/Util/zyodl.vim + "autocmd BufRead,BufNewFile **/Etc/FAQ.yo set ft=zyodl | source <sfile>:h:h:h/Util/zyodl.vim +augroup END |