annotate runtime/indent/cpp.vim @ 29064:3fbc7462de59
v8.2.5054
patch 8.2.5054: no good filetype for conf files similar to dosini
Commit: https://github.com/vim/vim/commit/635f48010dcf6d97f3a65b4785e1726ad386d3eb
Author: Mudskipper875 <89634034+Mudskipper875@users.noreply.github.com>
Date: Fri Jun 3 18:40:53 2022 +0100
patch 8.2.5054: no good filetype for conf files similar to dosini
Problem: No good filetype for conf files similar to dosini.
Solution: Add the confini filetype. (closes https://github.com/vim/vim/issues/10510)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Fri, 03 Jun 2022 19:45:02 +0200 |
parents |
7bc41231fbc7 |
children |
4027cefc2aab |
rev |
line source |
7
|
1 " Vim indent file
|
|
2 " Language: C++
|
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
2034
|
4 " Last Change: 2008 Nov 29
|
7
|
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 " C++ indenting is built-in, thus this is very simple
|
|
13 setlocal cindent
|
2034
|
14
|
|
15 let b:undo_indent = "setl cin<"
|