view runtime/indent/cpp.vim @ 23114:462774c327df v8.2.2103

patch 8.2.2103: Vim9: unreachable code Commit: https://github.com/vim/vim/commit/41d6196e302af5f1a99aeeac587b5c662c410166 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 6 20:12:43 2020 +0100 patch 8.2.2103: Vim9: unreachable code Problem: Vim9: unreachable code. Solution: Remove the code to prepend s: to the variable name
author Bram Moolenaar <Bram@vim.org>
date Sun, 06 Dec 2020 20:15:04 +0100
parents 7bc41231fbc7
children 4027cefc2aab
line wrap: on
line source

" Vim indent file
" Language:	C++
" 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

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

let b:undo_indent = "setl cin<"