view runtime/indent/lisp.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 2198955f9e27
children
line wrap: on
line source

" Vim indent file
" Language:	Lisp
" Maintainer:	Sergey Khorev <sergey.khorev@gmail.com>
" URL:		http://sites.google.com/site/khorser/opensource/vim
" Last Change:	2012 Jan 10

" Only load this indent file when no other was loaded.
if exists("b:did_indent")
   finish
endif
let b:did_indent = 1

setlocal ai nosi

let b:undo_indent = "setl ai< si<"