annotate runtime/indent/cuda.vim @ 19147:06ef1e438ac8
v8.2.0133
patch 8.2.0133: invalid memory access with search command
Commit: https://github.com/vim/vim/commit/98a336dd497d3422e7efeef9f24cc9e25aeb8a49
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 20 20:22:30 2020 +0100
patch 8.2.0133: invalid memory access with search command
Problem: Invalid memory access with search command.
Solution: When :normal runs out of characters in bracketed paste mode break
out of the loop.(closes #5511)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 20 Jan 2020 20:30:04 +0100 |
parents |
7bc41231fbc7 |
children |
4027cefc2aab |
rev |
line source |
2034
|
1 " Vim indent file
|
|
2 " Language: CUDA
|
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
|
4 " Last Change: 2008 Nov 29
|
|
5
|
|
6 " Only load this indent file when no other was loaded.
|
|
7 if exists("b:did_indent")
|
|
8 finish
|
|
9 endif
|
|
10 let b:did_indent = 1
|
|
11
|
|
12 " It's just like C indenting
|
|
13 setlocal cindent
|
|
14
|
|
15 let b:undo_indent = "setl cin<"
|