diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-02-09 17:07:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-02-09 17:07:58 +0100 |
commit | d58e929fa283459957b0eab635fdaa9dcd61819c (patch) | |
tree | 92c871586e91c3c33b0a7447f12cc9a6d7184c30 /runtime/ftplugin | |
parent | 95474ca34c542d58d3f08703b7d96ad21b05beea (diff) | |
download | vim-git-d58e929fa283459957b0eab635fdaa9dcd61819c.tar.gz |
Updated runtime files and translations.
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/qf.vim | 6 | ||||
-rw-r--r-- | runtime/ftplugin/zsh.vim | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/runtime/ftplugin/qf.vim b/runtime/ftplugin/qf.vim index f1d09225f..9d438b520 100644 --- a/runtime/ftplugin/qf.vim +++ b/runtime/ftplugin/qf.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: Vim's quickfix window " Maintainer: Lech Lorens <Lech.Lorens@gmail.com> -" Last Changed: 22 Jul 2010 +" Last Changed: 18 Dec 2010 if exists("b:did_ftplugin") finish @@ -10,7 +10,7 @@ endif " Don't load another plugin for this buffer let b:did_ftplugin = 1 -let b:undo_ftplugin = "setl stl<" +let b:undo_ftplugin = "set stl<" " Display the command that produced the list in the quickfix window: -setlocal stl=%q%{exists('w:quickfix_title')?\ '\ '.w:quickfix_title\ :\ ''} +setlocal stl=%t%{exists('w:quickfix_title')?\ '\ '.w:quickfix_title\ :\ ''} diff --git a/runtime/ftplugin/zsh.vim b/runtime/ftplugin/zsh.vim index c6db78171..3970d65cc 100644 --- a/runtime/ftplugin/zsh.vim +++ b/runtime/ftplugin/zsh.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: Zsh shell script " Maintainer: Nikolai Weibull <now@bitwi.se> -" Latest Revision: 2008-07-09 +" Latest Revision: 2011-01-23 if exists("b:did_ftplugin") finish @@ -15,5 +15,12 @@ let b:undo_ftplugin = "setl com< cms< fo<" setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql +let b:match_words = + \ &matchpairs + \ . ',\<if\>:\<elif\>:\<else\>:\<fi\>' + \ . ',\<case\>:^\s*([^)]*):\<esac\>' + \ . ',\<\%(select\|while\|until\|repeat\|for\%(each\)\=\)\>:\<done\>' +let b:match_skip = 's:comment\|string\|heredoc\|subst' + let &cpo = s:cpo_save unlet s:cpo_save |