view runtime/indent/cpp.vim @ 19556:ff5048b0ccfe v8.2.0335

patch 8.2.0335: no completion for :disassemble Commit: https://github.com/vim/vim/commit/cc390ff5b2c8725c55b961b24322c470659ede9f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 29 22:06:30 2020 +0100 patch 8.2.0335: no completion for :disassemble Problem: No completion for :disassemble. Solution: Make completion work. Also complete script-local functions if the name starts with "s:".
author Bram Moolenaar <Bram@vim.org>
date Sat, 29 Feb 2020 22:15:05 +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<"