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