Mercurial > vim
view runtime/ftplugof.vim @ 27726:d3ed8b1a7bde v8.2.4389
patch 8.2.4389: screenpos() does not handle a position in a closed fold
Commit: https://github.com/vim/vim/commit/4556a2e8681c5c98fb4c7ca0a016924a69b4452a
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 15 13:40:17 2022 +0000
patch 8.2.4389: screenpos() does not handle a position in a closed fold
Problem: screenpos() does not handle a position in a closed fold.
Solution: Check if the position is inside a closed fold. (closes https://github.com/vim/vim/issues/9778)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 15 Feb 2022 14:45:03 +0100 |
parents | 179c118424a6 |
children | 4027cefc2aab |
line wrap: on
line source
vim9script # Vim support file to switch off loading plugins for file types # # Maintainer: Bram Moolenaar <Bram@vim.org> # Last Change: 2022 Feb 09 if exists("g:did_load_ftplugin") unlet g:did_load_ftplugin endif # Remove all autocommands in the filetypeplugin group, if any exist. if exists("#filetypeplugin") silent! au! filetypeplugin * endif