annotate runtime/indent/cpp.vim @ 21871:e27555ca1093
v8.2.1485
patch 8.2.1485: Vim9: readdirex() expression doesn't accept bool
Commit: https://github.com/vim/vim/commit/af8822ce085e3bd8edeb52cbb7306ddd42427d39
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 19 13:55:01 2020 +0200
patch 8.2.1485: Vim9: readdirex() expression doesn't accept bool
Problem: Vim9: readdirex() expression doesn't accept bool.
Solution: Accept both -1 and bool. (closes https://github.com/vim/vim/issues/6737)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 19 Aug 2020 14:00:04 +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<"
|