dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

vim.snippets (470B)


      1 snippet undo_ftplugin "Undo an ftplugin config" b
      2 let b:undo_ftplugin = (exists('b:undo_ftplugin') ? b:undo_ftplugin.'|' : '')
      3 let b:undo_ftplugin .= '${1:{changes to make}}'
      4 endsnippet
      5 snippet compiler "Compiler boilerplate" b
      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
     14 endsnippet