dotfiles/vim/ftdetect/thor.vim

3 lines
106 B
VimL

autocmd BufNewFile,BufRead *.thor set filetype=ruby
autocmd BufNewFile,BufRead Thorfile set filetype=ruby