Mercurial > vim
view runtime/indent/wast.vim @ 27758:5a8258fde1d9 v8.2.4405
patch 8.2.4405: compiler warning for unused variable without +folding
Commit: https://github.com/vim/vim/commit/8329ab79b26be4c6c5766d80abae4a22385ee9e1
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 16 21:51:00 2022 +0000
patch 8.2.4405: compiler warning for unused variable without +folding
Problem: Compiler warning for unused variable without the +folding feature.
(Tony Mechelynck)
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Feb 2022 23:00:04 +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<"