dart.vim 397 B

12345678910111213141516
  1. " Vim filetype plugin
  2. " Language: dart
  3. " Maintainer: Riley Bruins <ribru17@gmail.com>
  4. " Last Change: 2024 May 18
  5. if exists('b:did_ftplugin')
  6. finish
  7. endif
  8. let b:did_ftplugin = 1
  9. " Set 'comments' to format dashed lists in comments.
  10. " Also include ///, used for Doxygen.
  11. setl comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,:// commentstring=//\ %s
  12. let b:undo_ftplugin = 'setl com< cms<'