Skip to content

Commit

Permalink
perf: increase keyword_length for java to improve performace of `jd…
Browse files Browse the repository at this point in the history
…tls`
  • Loading branch information
loctvl842 committed May 8, 2023
1 parent 9e92eab commit b87d757
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/tvl/core/resources/coding.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ return {
mapping = cmp.mapping.preset.cmdline(),
sources = cmp.config.sources({ { name = "path" } }, { { name = "cmdline" } }),
})
cmp.setup.filetype("java", {
completion = {
keyword_length = 3,
},
})
return {
completion = {
completeopt = "menu,menuone,noinsert",
Expand Down

0 comments on commit b87d757

Please sign in to comment.