filetype-specifics.vim 690 B

1234567891011121314151617181920
  1. " Formatting for json files
  2. "au FileType json setlocal equalprg=python\ -m\ json.tool
  3. " yaml highlighting
  4. au BufNewFile,BufRead *.yaml,*.yml so ~/.vim/plugged/yaml.vim/colors/yaml.vim
  5. " `.conf` and `.ini` files should not force text to the next line.
  6. au BufEnter *.conf,*.ini setlocal textwidth=0
  7. " Load coffee script plugin for literate coffeescript files as well
  8. autocmd FileType litcoffee runtime ftplugin/coffee.vim
  9. " Compile and Watch should open vertical splits by default
  10. let coffee_compile_vert = 1
  11. let coffee_watch_vert = 1
  12. " RiotJS Tag support
  13. au BufNewFile,BufRead *.tag setlocal ft=javascript
  14. " Add spelling to markdown files
  15. autocmd BufRead,BufNewFile *.md setlocal spell