neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

proto.vim (396B)


      1 " Vim filetype plugin
      2 " Language:	Protobuf
      3 " Maintainer:	David Pedersen <limero@me.com>
      4 " Last Change:	2024 Dec 09
      5 
      6 if exists('b:did_ftplugin')
      7  finish
      8 endif
      9 let b:did_ftplugin = 1
     10 
     11 setlocal formatoptions-=t formatoptions+=croql
     12 
     13 setlocal comments=s1:/*,mb:*,ex:*/,://
     14 setlocal commentstring=//\ %s
     15 
     16 let b:undo_ftplugin = "setlocal formatoptions< comments< commentstring<"
     17 
     18 " vim: sw=2 sts=2 et