Skip to content

Commit

Permalink
fix: add java to blocked filetypes for semantic token auto_brackets (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
oysandvik94 authored Dec 23, 2024
1 parent f93af0f commit 140ed36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/configuration/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ completion.accept = {
-- Asynchronously use semantic token to determine if brackets should be added
semantic_token_resolution = {
enabled = true,
blocked_filetypes = {},
blocked_filetypes = { 'java' },
-- How long to wait for semantic tokens to return before assuming no brackets should be added
timeout_ms = 400,
},
Expand Down
2 changes: 1 addition & 1 deletion lua/blink/cmp/config/completion/accept.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ local accept = {
},
semantic_token_resolution = {
enabled = true,
blocked_filetypes = {},
blocked_filetypes = { 'java' },
timeout_ms = 400,
},
},
Expand Down

0 comments on commit 140ed36

Please sign in to comment.