1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 11:24:55 +02:00

nvim: autocomplete: better context for spell completions

This commit is contained in:
Henrik Hautakoski 2024-08-26 18:54:52 +02:00
parent b0fed18ace
commit a89e7efdee

View file

@ -67,7 +67,7 @@ return {
option = {
keep_all_entries = false,
enable_in_context = function()
return true
return require('cmp.config.context').in_treesitter_capture('spell')
end,
preselect_correct_word = true,
},