diff options
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index afe8ce44..799b7c64 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -383,6 +383,11 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1 au! BufRead,BufNewFile *.pp setfiletype puppet au! BufRead,BufNewFile Puppetfile setfiletype ruby endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'purescript') == -1 + +au BufNewFile,BufRead *.purs setf purescript +au FileType purescript let &l:commentstring='{--%s--}' +endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'qml') == -1 autocmd BufRead,BufNewFile *.qml setfiletype qml |