view runtime/indent/wast.vim @ 23454:5e6a5ccf5dcb v8.2.2270

patch 8.2.2270: warning for size_t to int conversion Commit: https://github.com/vim/vim/commit/38a434f7ba89ab2602019476219780e07fd8251f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 2 12:45:45 2021 +0100 patch 8.2.2270: warning for size_t to int conversion Problem: Warning for size_t to int conversion. (Randall W. Morris) Solution: Add a type cast.
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Jan 2021 13:00:05 +0100
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<"