Commits

Meikel Brandmeyer committed c98809d

Add define option to filetype plugin

  • Participants
  • Parent commits 85c39c1

Comments (0)

Files changed (1)

File ftplugin/clojure.vim

 let s:cpo_save = &cpo
 set cpo&vim
 
-let b:undo_ftplugin = "setlocal fo< com< cms< cpt< isk<"
+let b:undo_ftplugin = "setlocal fo< com< cms< cpt< isk< def<"
 
 setlocal iskeyword+=?,-,*,!,+,/,=,<,>,.
 
+setlocal define=^\\s*(def\\(-\\|n\\|n-\\|macro\\|struct\\|multi\\)?
+
 " Set 'formatoptions' to break comment lines but not other lines,
 " and insert the comment leader when hitting <CR> or using "o".
 setlocal formatoptions-=t formatoptions+=croql