view runtime/indent/wast.vim @ 16835:7cade95272c4 v8.1.1419

patch 8.1.1419: listener callbacks may be called recursively commit https://github.com/vim/vim/commit/68a4b04a8d2471adf9de595745437c7cf20b98d8 Author: Bram Moolenaar <Bram@vim.org> Date: Wed May 29 22:28:29 2019 +0200 patch 8.1.1419: listener callbacks may be called recursively Problem: Listener callbacks may be called recursively. Solution: Set "updating_screen" while listener callbacks are invoked.
author Bram Moolenaar <Bram@vim.org>
date Wed, 29 May 2019 22:30:06 +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<"