Mercurial > vim
view runtime/ftplugin/hgcommit.vim @ 32062:8c9f63a518f5 v9.0.1362
patch 9.0.1362: ml_get error when going to another tab
Commit: https://github.com/vim/vim/commit/99ad3a8bb95c6f860545a050472b6181e33bac1a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 27 17:18:01 2023 +0000
patch 9.0.1362: ml_get error when going to another tab
Problem: ml_get error when going to another tab. (Daniel J. Perry)
Solution: Do not call update_topline() if "curwin" is invalid.
(closes #11907)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Feb 2023 18:30:04 +0100 |
parents | 502ca0a62fd8 |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: hg (Mercurial) commit file " Maintainer: Ken Takata <kentkt at csc dot jp> " Last Change: 2016 Jan 6 " Filenames: hg-editor-*.txt " License: VIM License " URL: https://github.com/k-takata/hg-vim if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 setlocal nomodeline let b:undo_ftplugin = 'setl modeline<'