Mercurial > vim
view runtime/indent/wast.vim @ 20009:6eb3c91d9875 v8.2.0560
patch 8.2.0560: compiler warning in tiny build
Commit: https://github.com/vim/vim/commit/2196bce56fcd56b0eaece50c079bac99f5bc31af
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 12 20:01:11 2020 +0200
patch 8.2.0560: compiler warning in tiny build
Problem: Compiler warning in tiny build.
Solution: Move declaration inside #ifdef. (Dominique Pelle, closes https://github.com/vim/vim/issues/5915)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Apr 2020 20:15:03 +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<"