diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-02-15 22:15:10 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-02-16 08:57:45 +0100 |
commit | a1d977d8eb2ac31021f647c79e1cebde1bf5af43 (patch) | |
tree | 5638ab896a2aed6a336299db47c8d171b8ee01b1 /runtime/lua/vim/treesitter/query.lua | |
parent | 51ea753747c7df12a2d06ad45100db7797c11e1b (diff) | |
download | rneovim-a1d977d8eb2ac31021f647c79e1cebde1bf5af43.tar.gz rneovim-a1d977d8eb2ac31021f647c79e1cebde1bf5af43.tar.bz2 rneovim-a1d977d8eb2ac31021f647c79e1cebde1bf5af43.zip |
vim-patch:103f1dfb7df3
runtime(less): reset readonly setting when disabling less mode
While at it, also do the unmap only if a specific key has been mapped.
There are some keys that are only selectively mapped and it would cause
an error if we are trying to unmap such a key (e.g. z when your
foldmethod is not manual).
fixes: vim/vim#14040
https://github.com/vim/vim/commit/103f1dfb7df350650a5d7caadb0364bd79e9d25b
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim/treesitter/query.lua')
0 files changed, 0 insertions, 0 deletions