neovim

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

swig.vim (505B)


      1 " Vim filetype plugin file
      2 " Language:	SWIG
      3 " Maintainer:	Julien Marrec <julien.marrec 'at' gmail com>
      4 " Last Change:	2023 November 23
      5 " 2025 July 14 by Vim project: set 'comment'/'commentstring' options
      6 
      7 " Only do this when not done yet for this buffer
      8 if exists("b:did_ftplugin")
      9  finish
     10 endif
     11 let b:did_ftplugin = 1
     12 
     13 let b:undo_ftplugin = "setlocal iskeyword< comments< commentstring<"
     14 setlocal iskeyword+=%
     15 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
     16 setlocal commentstring=//\ %s