annotate runtime/compiler/standard.vim @ 23812:84089558c5df
v8.2.2447
patch 8.2.2447: 'foldlevel' not applied to folds restored from session
Commit: https://github.com/vim/vim/commit/f9547eb6ef02e305203b859d2dcfdae930b9d544
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 1 19:24:55 2021 +0100
patch 8.2.2447: 'foldlevel' not applied to folds restored from session
Problem: 'foldlevel' not applied to folds restored from session.
Solution: Set 'foldlevel' after creaiting the folds. (closes https://github.com/vim/vim/issues/7767)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 01 Feb 2021 19:30:04 +0100 |
parents |
bbca88cd13d5 |
children |
e1df51f68736 |
rev |
line source |
20552
|
1 " Vim compiler file
|
|
2 " Compiler: Standard for JavaScript
|
|
3 " Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
|
21991
|
4 " Last Change: 2020 August 20
|
20552
|
5
|
|
6 if exists("current_compiler")
|
|
7 finish
|
|
8 endif
|
|
9 let current_compiler = "standard"
|
|
10
|
|
11 if exists(":CompilerSet") != 2
|
|
12 command -nargs=* CompilerSet setlocal <args>
|
|
13 endif
|
|
14
|
21991
|
15 CompilerSet makeprg=npx\ standard
|
|
16 CompilerSet errorformat=%f:%l:%c:\ %m,%-G%.%#
|