diff options
author | altermo <107814000+altermo@users.noreply.github.com> | 2024-11-18 15:40:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 06:40:51 -0800 |
commit | e2ad251c8d01726ecd54d925b5280ab32b448c13 (patch) | |
tree | ae0843e383b741706685d8ebee939b8d15ed62bb /runtime/lua/vim/lsp/buf.lua | |
parent | 40347f6e27f1594797ecb0b268076a94630e4c1b (diff) | |
download | rneovim-e2ad251c8d01726ecd54d925b5280ab32b448c13.tar.gz rneovim-e2ad251c8d01726ecd54d925b5280ab32b448c13.tar.bz2 rneovim-e2ad251c8d01726ecd54d925b5280ab32b448c13.zip |
fix(api): nvim_get_option_value does not clean up on FileType error #31219
Problem:
If there's an error in `FileType` autocmd, the filetype get-opt buffer
doesn't get cleaned up.
Solution:
Call `aucmd_restbuf`.
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
0 files changed, 0 insertions, 0 deletions