view runtime/indent/wast.vim @ 14971:134ea82de781

Added tag v8.1.0496 for changeset 19b757c6c6a75935048092c317744b163bc7d4e3
author Bram Moolenaar <Bram@vim.org>
date Thu, 25 Oct 2018 17:00:08 +0200
parents 172f18a3a6cd
children
line wrap: on
line source

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