We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12a8541 commit 7af24a3Copy full SHA for 7af24a3
1 file changed
ftplugin/clojure.vim
@@ -18,7 +18,9 @@ set cpo&vim
18
19
let b:undo_ftplugin = "setlocal fo< com< cms< cpt< isk< def<"
20
21
-setlocal define=^\\s*(def\\(-\\|n\\|n-\\|macro\\|struct\\|multi\\)?
+" There will be false positives, but this is arguably better than missing the
22
+" whole set of user-defined def* definitions.
23
+setlocal define=\\v[(/]def(ault)@!\\S*
24
25
" Set 'formatoptions' to break comment lines but not other lines,
26
" and insert the comment leader when hitting <CR> or using "o".
0 commit comments