scdoc.vim 541 B

1234567891011121314151617181920212223
  1. " scdoc filetype plugin
  2. " Maintainer: Gregory Anders <contact@gpanders.com>
  3. " Last Updated: 2022-05-09
  4. " Upstream: https://github.com/gpanders/vim-scdoc
  5. " Only do this when not done yet for this buffer
  6. if exists('b:did_ftplugin')
  7. finish
  8. endif
  9. " Don't load another plugin for this buffer
  10. let b:did_ftplugin = 1
  11. setlocal comments=b:;
  12. setlocal commentstring=;%s
  13. setlocal formatoptions+=t
  14. setlocal noexpandtab
  15. setlocal shiftwidth=0
  16. setlocal softtabstop=0
  17. setlocal textwidth=80
  18. let b:undo_ftplugin = 'setl com< cms< fo< et< sw< sts< tw<'