Mercurial > vim
view runtime/indent/vroom.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 | 1e8ebf870720 |
children |
line wrap: on
line source
" Vim indent file " Language: Vroom (vim testing and executable documentation) " Maintainer: David Barnett (https://github.com/google/vim-ft-vroom) " Last Change: 2014 Jul 23 if exists('b:did_indent') finish endif let b:did_indent = 1 let s:cpo_save = &cpo set cpo-=C let b:undo_indent = 'setlocal autoindent<' setlocal autoindent let &cpo = s:cpo_save unlet s:cpo_save