robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Christian Clasonvim-patch:9a667b4: runtime(swig): add 'comments', 'commentstring' in filetype pluginfa648731ec

master
505 B16 linesraw
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
8if exists("b:did_ftplugin")
9  finish
10endif
11let b:did_ftplugin = 1
12
13let b:undo_ftplugin = "setlocal iskeyword< comments< commentstring<"
14setlocal iskeyword+=%
15setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
16setlocal commentstring=//\ %s