diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-05-12 10:54:35 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-05-12 10:54:35 -0500 |
commit | dcd9da2919984593cc0076eca8eab0ca2b6088d8 (patch) | |
tree | c03a7e96ec18ac052ca175d9f8f918d85494b81b /vim/after/ftplugin | |
parent | 5c33ea13b92a21bbd411e42695163cbfc2b102c7 (diff) | |
download | conf-dcd9da2919984593cc0076eca8eab0ca2b6088d8.tar.gz conf-dcd9da2919984593cc0076eca8eab0ca2b6088d8.zip |
add snippet for a bare else block
Diffstat (limited to 'vim/after/ftplugin')
-rw-r--r-- | vim/after/ftplugin/c_snippets.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/after/ftplugin/c_snippets.vim b/vim/after/ftplugin/c_snippets.vim index 3de0cfd..dc3037e 100644 --- a/vim/after/ftplugin/c_snippets.vim +++ b/vim/after/ftplugin/c_snippets.vim @@ -66,3 +66,4 @@ exec "Snippet for for (".st."int".et." ".st."i".et." = ".st.et."; ".st."i".et." exec "Snippet forv for (vector<".st."int".et.">::const_iterator ".st."it".et." = ".st."v".et.".begin(); ".st."it".et." != ".st."v".et.".end(); ++".st."it".et.") {<CR>".st.et."<CR>}" exec "Snippet form for (map<".st."string".et.", ".st."int".et.">::const_iterator ".st."it".et." = ".st."v".et.".begin(); ".st."it".et." != ".st."v".et.".end(); ++".st."it".et.") {<CR>".st.et."<CR>}" exec "Snippet while while (".st.et.") {<CR>".st.et."<CR>}" +exec "Snippet else else {<CR>".st.et."<CR>}" |