just.vim 452 B

123456789101112131415161718
  1. " Vim ftplugin file
  2. " Language: Justfile
  3. " Maintainer: Peter Benjamin <@pbnj>
  4. " Last Change: 2025 Jan 19
  5. " Credits: The original author, Noah Bogart <https://github.com/NoahTheDuke/vim-just/>
  6. " Only do this when not done yet for this buffer
  7. if exists("b:did_ftplugin")
  8. finish
  9. endif
  10. let b:did_ftplugin = 1
  11. setlocal iskeyword+=-
  12. setlocal comments=n:#
  13. setlocal commentstring=#\ %s
  14. let b:undo_ftplugin = "setlocal iskeyword< comments< commentstring<"