annotate runtime/syntax/bash.vim @ 24341:0e1b8b98f9f4
v8.2.2711
patch 8.2.2711: "gj" in a closed fold does not move out of the fold
Commit: https://github.com/vim/vim/commit/3c49e74e18993915a779cafe4af3749b39fd3e2a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 4 21:26:04 2021 +0200
patch 8.2.2711: "gj" in a closed fold does not move out of the fold
Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
Solution: Add a check for being in a closed fold. (closes https://github.com/vim/vim/issues/8062)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 04 Apr 2021 21:30:03 +0200 |
parents |
03b854983b14 |
children |
71cbad0921c9 |
rev |
line source |
18186
|
1 " Vim syntax file
|
|
2 " Language: bash
|
|
3 " Maintainer: Bram
|
|
4 " Last Change: 2019 Sep 27
|
|
5
|
|
6 " quit when a syntax file was already loaded
|
|
7 if exists("b:current_syntax")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 " The actual syntax is in sh.vim and controlled by buffer-local variables.
|
|
12 unlet! b:is_sh
|
|
13 unlet! b:is_kornshell
|
|
14 let b:is_bash = 1
|
|
15
|
|
16 runtime! syntax/sh.vim
|
|
17
|
|
18 let b:current_syntax = 'bash'
|
|
19
|
|
20 " vim: ts=8
|