aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-10-29 09:55:33 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-10-29 09:57:24 +0100
commit4f67f5ba6e5c9c1a8483e2b1f5faaa48bfb221ad (patch)
tree8f404308064a2ef07e8f3f7efd34b904fc57e027 /runtime/ftplugin
parent07fdbba9d0a5cce9d466c36fbbaa9fe1cdeb1428 (diff)
downloadrneovim-4f67f5ba6e5c9c1a8483e2b1f5faaa48bfb221ad.tar.gz
rneovim-4f67f5ba6e5c9c1a8483e2b1f5faaa48bfb221ad.tar.bz2
rneovim-4f67f5ba6e5c9c1a8483e2b1f5faaa48bfb221ad.zip
vim-patch:d2855f5454c5
Update runtime files. https://github.com/vim/vim/commit/d2855f5454c5c6c5f786b228c5b67757edfefcb1
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/wast.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/ftplugin/wast.vim b/runtime/ftplugin/wast.vim
new file mode 100644
index 0000000000..0d9e98d37a
--- /dev/null
+++ b/runtime/ftplugin/wast.vim
@@ -0,0 +1,17 @@
+" Vim filetype plugin file
+" Language: WebAssembly
+" Maintainer: rhysd <lin90162@yahoo.co.jp>
+" Last Change: Jul 29, 2018
+" For bugs, patches and license go to https://github.com/rhysd/vim-wasm
+
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+setlocal comments=s:(;,e:;),:;;
+setlocal commentstring=(;%s;)
+setlocal formatoptions-=t
+setlocal iskeyword+=$,.,/
+
+let b:undo_ftplugin = "setlocal comments< commentstring< formatoptions< iskeyword<"