aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/java.vim
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2026-07-28 20:39:03 +0800
committerGitHub <noreply@github.com>2026-07-28 08:39:03 -0400
commit3fa5904cf246b783db778a457e5544272b847eff (patch)
treef0745678afcd4e66519e1e87fa3d9f07f27d8bdb /runtime/ftplugin/java.vim
parent089c415cb236512add6c29372e26640ff401d39b (diff)
downloadrneovim-3fa5904cf246b783db778a457e5544272b847eff.tar.gz
rneovim-3fa5904cf246b783db778a457e5544272b847eff.tar.bz2
rneovim-3fa5904cf246b783db778a457e5544272b847eff.zip
fix(lsp): multibyte fragment treated as commit char #41019
Problem: commit_chars_str() reads a 0x80-0xBF byte as a 2-byte lead, so "\xA9x" makes "x" a commit character. nvim_get_hl() returns a dict, so `#` on it is 0 whether or not the group exists Solution: use vim.str_utf_end() and drop entries that are not one whole character. use next check dict length.
Diffstat (limited to 'runtime/ftplugin/java.vim')
0 files changed, 0 insertions, 0 deletions