view runtime/indent/c.vim @ 31221:59de2172e99d v9.0.0944

patch 9.0.0944: 'cursorline' causes virtual text highlight to continue Commit: https://github.com/vim/vim/commit/6ac16f0c0fe923098b9df5ac430f1923045f16ea Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 24 22:42:29 2022 +0000 patch 9.0.0944: 'cursorline' causes virtual text highlight to continue Problem: 'cursorline' causes virtual text highlight to continue. Solution: Save and restore line_attr. (closes https://github.com/vim/vim/issues/11588)
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Nov 2022 23:45:02 +0100
parents fca8a9b65afa
children 4027cefc2aab
line wrap: on
line source

" Vim indent file
" Language:	C
" Maintainer:	Bram Moolenaar <Bram@vim.org>
" Last Change:	2005 Mar 27

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

" C indenting is built-in, thus this is very simple
setlocal cindent

let b:undo_indent = "setl cin<"