blob: ad1140bbb5e7aa0d4bf8f4707d6ed17c5ab6e852 [file] [log] [blame]
Bram Moolenaard2855f52018-07-31 22:23:58 +02001" Vim filetype plugin file
2" Language: WebAssembly
3" Maintainer: rhysd <lin90162@yahoo.co.jp>
rhysdbc8f79d2023-11-14 16:46:07 +01004" Last Change: Nov 14, 2023
Riley Bruins0a083062024-06-03 20:40:45 +02005" May 24, 2024 by Riley Bruins <ribru17@gmail.com> ('commentstring')
Bram Moolenaard2855f52018-07-31 22:23:58 +02006" For bugs, patches and license go to https://github.com/rhysd/vim-wasm
7
8if exists("b:did_ftplugin")
9 finish
10endif
11let b:did_ftplugin = 1
12
13setlocal comments=s:(;,e:;),:;;
Riley Bruins0a083062024-06-03 20:40:45 +020014setlocal commentstring=(;\ %s\ ;)
Bram Moolenaard2855f52018-07-31 22:23:58 +020015setlocal formatoptions-=t
16setlocal iskeyword+=$,.,/
17
18let b:undo_ftplugin = "setlocal comments< commentstring< formatoptions< iskeyword<"