vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

odin.vim (521B)


      1 vim9script
      2 
      3 # Vim filetype plugin file
      4 # Language:	Odin
      5 # Maintainer:	Maxim Kim <habamax@gmail.com>
      6 # Website:	https://github.com/habamax/vim-odin
      7 # Last Change:	2024 Jan 15
      8 #		2024-May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')
      9 
     10 if exists("b:did_ftplugin")
     11     finish
     12 endif
     13 b:did_ftplugin = 1
     14 
     15 b:undo_ftplugin = 'setlocal commentstring<'
     16       \ .. '| setlocal comments<'
     17       \ .. '| setlocal suffixesadd<'
     18 
     19 setlocal suffixesadd=.odin
     20 setlocal commentstring=//\ %s
     21 setlocal comments=s1:/*,mb:*,ex:*/,://