mirror of
https://github.com/neovim/neovim.git
synced 2026-05-06 08:26:45 -04:00
fa648731ec
Reference: https://www.swig.org/Doc1.3/SWIG.html#SWIG_nn5 closes: vim/vim#17753 https://github.com/vim/vim/commit/9a667b4dba09aee7968f33686afcac99dab347df Co-authored-by: Riley Bruins <ribru17@hotmail.com>
17 lines
505 B
VimL
17 lines
505 B
VimL
" Vim filetype plugin file
|
|
" Language: SWIG
|
|
" Maintainer: Julien Marrec <julien.marrec 'at' gmail com>
|
|
" Last Change: 2023 November 23
|
|
" 2025 July 14 by Vim 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
|