neovim

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

kconfig.vim (687B)


      1 " Vim filetype plugin file
      2 " Vim syntax file
      3 " Maintainer:		Christian Brabandt <cb@256bit.org>
      4 " Previous Maintainer:	Nikolai Weibull <now@bitwi.se>
      5 " Latest Revision:	2025 Jan 20
      6 " License:		Vim (see :h license)
      7 " Repository:		https://github.com/chrisbra/vim-kconfig
      8 
      9 if exists("b:did_ftplugin")
     10  finish
     11 endif
     12 let b:did_ftplugin = 1
     13 
     14 let b:undo_ftplugin = "setl inc< com< cms< fo<"
     15 
     16 setlocal include=source\\s\\+
     17 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
     18 
     19 " For matchit.vim
     20 if exists("loaded_matchit")
     21  let b:match_words = '^\<menu\>:\<endmenu\>,^\<if\>:\<endif\>,^\<choice\>:\<endchoice\>'
     22  let b:undo_ftplugin .= "| unlet! b:match_words"
     23 endif