text.vim 498 B

12345678910111213141516171819
  1. " Vim filetype plugin
  2. " Language: Text
  3. " Maintainer: David Barnett <daviebdawg+vim@gmail.com>
  4. " Last Change: 2019 Jan 10
  5. if exists('b:did_ftplugin')
  6. finish
  7. endif
  8. let b:did_ftplugin = 1
  9. let b:undo_ftplugin = 'setlocal comments< commentstring<'
  10. " We intentionally don't set formatoptions-=t since text should wrap as text.
  11. " Pseudo comment leaders to indent bulleted lists with '-' and '*'. And allow
  12. " for Mail quoted text with '>'.
  13. setlocal comments=fb:-,fb:*,n:>
  14. setlocal commentstring=