blob: bf0556d86c35abaeff9c90f3ed6276cadffee7c2 (
plain) (
tree)
|
|
" This is to avoid setting ft twice. Taken from vim-ruby.
function! s:setf(filetype) abort
if &filetype !=# a:filetype
let &filetype = a:filetype
endif
endfunction
au BufNewFile,BufRead *.bean,*.beancount call s:setf('beancount')
|