aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/vimhelp.lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-12-19 23:39:33 +0100
committerChristian Clason <c.clason@uni-graz.at>2023-12-20 17:44:31 +0100
commit095bd8d0f8340475319cfa13776d5ec386984859 (patch)
treec8434af0f6d0f59f88e31b926f3dd41371039c57 /runtime/lua/vim/vimhelp.lua
parent99d1e7da28061c2559c523f76b58b8bb113475ff (diff)
downloadrneovim-095bd8d0f8340475319cfa13776d5ec386984859.tar.gz
rneovim-095bd8d0f8340475319cfa13776d5ec386984859.tar.bz2
rneovim-095bd8d0f8340475319cfa13776d5ec386984859.zip
fix(buffer): do not filter help buffer
Problem: If a help buffer is opened without legacy syntax set (because treesitter is enabled), Vim strips (some) markup. This means the syntax engine fails to parse (some) syntax if treesitter highlighting is disabled again. Solution: Do not strip the help buffer of markup since (legacy or treesitter) highlighting is always enabled in Nvim. Similarly, remove redundant setting of filetype and give the function a more descriptive name.
Diffstat (limited to 'runtime/lua/vim/vimhelp.lua')
0 files changed, 0 insertions, 0 deletions