vim.snippets (453B)
1 snippet undo_ftplugin Undo an ftplugin config 2 let b:undo_ftplugin = (exists('b:undo_ftplugin') ? b:undo_ftplugin.'|' : '') 3 let b:undo_ftplugin .= '${1:changes to make}' 4 5 snippet compiler Compiler boilerplate 6 if exists("current_compiler") 7 finish 8 endif 9 let current_compiler = "${1:compiler name}" 10 if exists(":CompilerSet") != 2 " older Vim always used :setlocal 11 command -nargs=* CompilerSet setlocal <args> 12 endif 13 CompilerSet makeprg=$0