From ca2ab5e446bcf40e18de4390ee1b47c8295b5728 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sat, 11 Jul 2015 09:18:20 +0000 Subject: 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. --- Doc/Zsh/.vimrc | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Doc/Zsh/.vimrc (limited to 'Doc') 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 :h:h:h/Util/zyodl.vim + "autocmd BufRead,BufNewFile **/Etc/FAQ.yo set ft=zyodl | source :h:h:h/Util/zyodl.vim +augroup END -- cgit v1.2.3-70-g09d2