toml.vim 464 B

123456789101112131415161718192021222324
  1. " Vim filetype plugin
  2. " Language: TOML
  3. " Homepage: https://github.com/cespare/vim-toml
  4. " Maintainer: Aman Verma
  5. " Author: Kevin Ballard <kevin@sb.org>
  6. " Last Change: Sep 21, 2021
  7. if exists('b:did_ftplugin')
  8. finish
  9. endif
  10. let b:did_ftplugin = 1
  11. let s:save_cpo = &cpo
  12. set cpo&vim
  13. let b:undo_ftplugin = 'setlocal commentstring< comments<'
  14. setlocal commentstring=#\ %s
  15. setlocal comments=:#
  16. let &cpo = s:save_cpo
  17. unlet s:save_cpo
  18. " vim: et sw=2 sts=2