hare.vim 672 B

12345678910111213141516171819202122232425262728
  1. " Vim filetype plugin
  2. " Language: Hare
  3. " Maintainer: Amelia Clarke <me@rsaihe.dev>
  4. " Previous Maintainer: Drew DeVault <sir@cmpwn.com>
  5. " Last Updated: 2022-09-21
  6. " Only do this when not done yet for this buffer
  7. if exists('b:did_ftplugin')
  8. finish
  9. endif
  10. " Don't load another plugin for this buffer
  11. let b:did_ftplugin = 1
  12. setlocal noexpandtab
  13. setlocal tabstop=8
  14. setlocal shiftwidth=0
  15. setlocal softtabstop=0
  16. setlocal textwidth=80
  17. setlocal commentstring=//\ %s
  18. " Set 'formatoptions' to break comment lines but not other lines,
  19. " and insert the comment leader when hitting <CR> or using "o".
  20. setlocal fo-=t fo+=croql
  21. compiler hare
  22. " vim: tabstop=2 shiftwidth=2 expandtab