Update runtime files.

This commit is contained in:
Bram Moolenaar
2018-07-31 22:23:58 +02:00
parent 79c2ad50b8
commit d2855f5454
11 changed files with 227 additions and 92 deletions

17
runtime/indent/wast.vim Normal file
View File

@ -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<"