annotate runtime/indent/raml.vim @ 28371:c3a7be75ef16
v8.2.4711
patch 8.2.4711: when 'insermode' is set :edit from <Cmd> mapping misbehaves
Commit: https://github.com/vim/vim/commit/3a56b6d405fc0f1ca928b77382f97d0c552bea64
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri Apr 8 11:56:14 2022 +0100
patch 8.2.4711: when 'insermode' is set :edit from <Cmd> mapping misbehaves
Problem: When 'insermode' is set :edit from <Cmd> mapping misbehaves.
Solution: Don't set "need_start_insertmode" when already in Insert mode.
(closes #10116)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Fri, 08 Apr 2022 13:00:04 +0200 |
parents |
2b30a2b4bde2 |
children |
|
rev |
line source |
14999
|
1 " Vim indent file
|
|
2 " Language: RAML (RESTful API Modeling Language)
|
|
3 " Maintainer: mucheng <leisurelicht@gmail.com>
|
|
4 " License: VIM LICENSE
|
|
5 " Latest Revision: 2018-11-03
|
|
6
|
|
7 if exists("b:did_indent")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 " Same as yaml indenting.
|
|
12 runtime! indent/yaml.vim
|