Mercurial > vim
view runtime/syntax/tt2js.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 | 42bf9264e64e |
children | d1fe80fb35e6 |
line wrap: on
line source
" Language: TT2 embedded with Javascript " Maintainer: Andy Lester <andy@petdance.com> " Author: Yates, Peter <pd.yates@gmail.com> " Homepage: http://github.com/vim-perl/vim-perl " Bugs/requests: http://github.com/vim-perl/vim-perl/issues " Last Change: 2013-07-21 if exists("b:current_syntax") finish endif runtime! syntax/javascript.vim unlet b:current_syntax runtime! syntax/tt2.vim unlet b:current_syntax syn cluster javascriptPreProc add=@tt2_top_cluster let b:current_syntax = "tt2js"