summaryrefslogtreecommitdiff
path: root/uvim/runtime/indent/wat.mnv
blob: efda2eb2a211de9529114a992674ac034b9a3f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
" MNV indent file
" Language:     WebAssembly
" Maintainer:   rhysd <lin90162@yahoo.co.jp>
" Last Change:  Nov 14, 2023
" For bugs, patches and license go to https://github.com/rhysd/mnv-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<"