2 Commits

Author SHA1 Message Date
Vasily Toropov
05ee410ac9 Merge 3a7919fdb5 into 537a1da0fa 2021-01-03 00:10:24 +00:00
Vasily Toropov
3a7919fdb5 Fixed closing apostrophe in clojure files 2015-07-26 17:39:30 +10:00

View File

@@ -372,6 +372,9 @@ function! delimitMate#QuoteDelim(char) "{{{
" If we are in a vim file and it looks like we're starting a comment, do
" not add a closing char.
return a:char
elseif a:char == "'" && index(split(&ft, '\.'), "clojure") != -1
" If we are in a clojure file, do not add a closing apostrophe.
return a:char
elseif s:is_smart_quote(a:char)
" Seems like a smart quote, insert a single char.
return a:char