Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update runtime files. vim/vim@d2855f5
- Loading branch information
Showing
6 changed files
with
189 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
" Vim indent 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_indent") | ||
finish | ||
endif | ||
let b:did_indent = 1 | ||
|
||
" WebAssembly text format is S-expression. We can reuse LISP indentation | ||
" logic. | ||
setlocal indentexpr=lispindent('.') | ||
setlocal noautoindent nosmartindent | ||
|
||
let b:undo_indent = "setl lisp< indentexpr<" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.