Mercurial > vim
annotate runtime/ftplugin/indent.vim @ 19826:293a22b677a8 v8.2.0469
patch 8.2.0469: Vim9: no error for missing ] after list
Commit: https://github.com/vim/vim/commit/ee619e5bc0992e818f2d9540b093b769b9c27651
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 28 21:38:06 2020 +0100
patch 8.2.0469: Vim9: no error for missing ] after list
Problem: Vim9: no error for missing ] after list.
Solution: Add error message. Add more tests.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Mar 2020 21:45:06 +0100 |
parents | 1218c5353e2b |
children | 786b2a8ec970 |
rev | line source |
---|---|
375 | 1 " Vim filetype plugin file |
11062 | 2 " Language: indent(1) configuration file |
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | |
4 " Latest Revision: 2008-07-09 | |
375 | 5 |
6 if exists("b:did_ftplugin") | |
7 finish | |
8 endif | |
9 let b:did_ftplugin = 1 | |
10 | |
1698 | 11 let s:cpo_save = &cpo |
12 set cpo&vim | |
13 | |
389 | 14 let b:undo_ftplugin = "setl com< cms< fo<" |
375 | 15 |
389 | 16 setlocal comments=s1:/*,mb:*,ex:*/ commentstring& |
17 setlocal formatoptions-=t formatoptions+=croql | |
1698 | 18 |
19 let &cpo = s:cpo_save | |
20 unlet s:cpo_save |