aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/ui_event_spec.lua
diff options
context:
space:
mode:
authorDaniel Petrovic <daniel-dev@hotmail.de>2025-01-29 09:02:49 +0100
committerGitHub <noreply@github.com>2025-01-29 09:02:49 +0100
commit19f00bf32cebfa66a17e0f5945d62d7da1859623 (patch)
treeabb9e4817af74f3beab1368fb83058e776e4ef77 /test/functional/lua/ui_event_spec.lua
parentda0ae953490098c28bad4791e08e2cc4c2e385e2 (diff)
downloadrneovim-19f00bf32cebfa66a17e0f5945d62d7da1859623.tar.gz
rneovim-19f00bf32cebfa66a17e0f5945d62d7da1859623.tar.bz2
rneovim-19f00bf32cebfa66a17e0f5945d62d7da1859623.zip
fix(treesitter) Set modeline=false in TSHighlighter:destroy (#32234)
Problem: `TSHighlighter:destroy()` causes double-processing of the modeline and failure of `b:undo_ftplugin`. Solution: Disable modeline in `TSHighlighter:destroy()` by setting `modeline=false` if executing `syntaxset` autocommands for the `FileType` event. Co-authored-by: Daniel Petrovic <daniel.petrovic@ebcont.com>
Diffstat (limited to 'test/functional/lua/ui_event_spec.lua')
0 files changed, 0 insertions, 0 deletions