view runtime/indent/cuda.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 7bc41231fbc7
children 4027cefc2aab
line wrap: on
line source

" Vim indent file
" Language:	CUDA
" Maintainer:	Bram Moolenaar <Bram@vim.org>
" Last Change:	2008 Nov 29

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

" It's just like C indenting
setlocal cindent

let b:undo_indent = "setl cin<"