blob: 1be234b6e9b5fa297b97d8aff62ad269f3ff5fc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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<"
|