jez / vim-better-sml

:tada: Enjoy writing SML within Vim
https://blog.jez.io/sml-dev-setup/
104 stars 10 forks source link

This plugin could break autocmd FileType sml #13

Closed Huxpro closed 5 years ago

Huxpro commented 5 years ago

For unknown reasons...the au FileType sml key mapping only get registered (checked via :map) when this plugin is removed.

Haven't got time investigating more.

Huxpro commented 5 years ago

Okay I figured out the reason (-ish) I was following the README and write augroup vimbettersml in vimrc while augroup vimbettersml has been declared in https://github.com/jez/vim-better-sml/blob/master/ftplugin/sml.vim#L23

After changing the augroup as another name the autocmd group activates fine ;)

jez commented 5 years ago

Fixed in #14