aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/gitcommit.vim
diff options
context:
space:
mode:
authorDavid Moberg <kaddkaka@gmail.com>2023-08-31 03:18:39 +0200
committerGitHub <noreply@github.com>2023-08-31 09:18:39 +0800
commit67fba9affa14f2f3cd30371568c01d39f3e5f4d4 (patch)
tree6b2f3f52db7c6951e9779d850303f4492ee72857 /runtime/ftplugin/gitcommit.vim
parent839d919098ed2cf3dfb93b6337a3d2ea2bd210a0 (diff)
downloadrneovim-67fba9affa14f2f3cd30371568c01d39f3e5f4d4.tar.gz
rneovim-67fba9affa14f2f3cd30371568c01d39f3e5f4d4.tar.bz2
rneovim-67fba9affa14f2f3cd30371568c01d39f3e5f4d4.zip
fix(runtime/tutor): don't try to close fold when there is none (#24953)
Problem: When double clicking a line starting with a #, the code assumes there is a fold there and tries to close it, resulting in an error if there isn't a fold. Solution: Check foldlevel before performing "zc".
Diffstat (limited to 'runtime/ftplugin/gitcommit.vim')
0 files changed, 0 insertions, 0 deletions