Skip to content

Commit a827d1b

Browse files
committed
Force filetype in ftdetect
setfiletype only changes 'filetype' if not yet set for the buffer. Therefore, the addition of *.edn never really worked properly. (This is puzzling since I am sure I tested it!) Actually closes #25.
1 parent 9b71d9d commit a827d1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ftdetect/clojure.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
au BufNewFile,BufRead *.clj,*.cljs,*.edn setf clojure
1+
autocmd BufNewFile,BufRead *.clj,*.cljs,*.edn setlocal filetype=clojure

0 commit comments

Comments
 (0)