view runtime/indent/wat.vim @ 34289:3b7889be5f34

Added tag v9.1.0080 for changeset 6df14313537662d62fe8054553e5a569cfd61de3
author Christian Brabandt <cb@256bit.org>
date Tue, 06 Feb 2024 11:15:06 +0100
parents 4913b4f5a133
children
line wrap: on
line source

" Vim 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/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<"