view runtime/indent/wast.vim @ 30861:c33f094d20c1 v9.0.0765

patch 9.0.0765: with a Visual block a put command column may go negative Commit: https://github.com/vim/vim/commit/36343ae0fb7247e060abfd35fb8e4337b33abb4b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 15 19:04:05 2022 +0100 patch 9.0.0765: with a Visual block a put command column may go negative Problem: With a Visual block a put command column may go negative. Solution: Check that the column does not become negative.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Oct 2022 20:15:05 +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<"