mirror of
https://github.com/pnx/dotfiles
synced 2026-06-18 03:50:03 +02:00
nvim: autocomplete: better context for spell completions
This commit is contained in:
parent
b0fed18ace
commit
a89e7efdee
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ return {
|
||||||
option = {
|
option = {
|
||||||
keep_all_entries = false,
|
keep_all_entries = false,
|
||||||
enable_in_context = function()
|
enable_in_context = function()
|
||||||
return true
|
return require('cmp.config.context').in_treesitter_capture('spell')
|
||||||
end,
|
end,
|
||||||
preselect_correct_word = true,
|
preselect_correct_word = true,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue