dag / vim-fish

Vim support for editing fish scripts
MIT License
432 stars 59 forks source link

Clear autocmd to prevent pile-up of `function` declarations #43

Open runarorama opened 5 years ago

runarorama commented 5 years ago

This solves a problem with the .vimrc being sourced more than once, which is a common occurrence.

runarorama commented 5 years ago

Bump.

adriaanzon commented 5 years ago

Vim already wraps it in an augroup, right? https://github.com/vim/vim/blob/d47d52232bf21036c5c89081458be7eaf2630d24/runtime/doc/filetype.txt#L180

runarorama commented 5 years ago

I think you're right about that, but there should at least be an autocmd! at the start of this file.