view runtime/indent/wat.vim @ 35042:efef66876fb4

Added tag v9.1.0370 for changeset e671080ef0e2e8d92a05044905761b1414755cf5
author Christian Brabandt <cb@256bit.org>
date Thu, 25 Apr 2024 21:30:12 +0200
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<"