summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/swig.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin/swig.vim')
-rw-r--r--runtime/ftplugin/swig.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/ftplugin/swig.vim b/runtime/ftplugin/swig.vim
new file mode 100644
index 0000000..506c929
--- /dev/null
+++ b/runtime/ftplugin/swig.vim
@@ -0,0 +1,13 @@
+" Vim filetype plugin file
+" Language: SWIG
+" Maintainer: Julien Marrec <julien.marrec 'at' gmail com>
+" Last Change: 2023 November 23
+
+" 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<"
+setlocal iskeyword+=%