diff --git a/docs/configuration/reference.md b/docs/configuration/reference.md index 3e86035c..9f9223bb 100644 --- a/docs/configuration/reference.md +++ b/docs/configuration/reference.md @@ -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, }, diff --git a/lua/blink/cmp/config/completion/accept.lua b/lua/blink/cmp/config/completion/accept.lua index 09e5fa1e..a81aa558 100644 --- a/lua/blink/cmp/config/completion/accept.lua +++ b/lua/blink/cmp/config/completion/accept.lua @@ -37,7 +37,7 @@ local accept = { }, semantic_token_resolution = { enabled = true, - blocked_filetypes = {}, + blocked_filetypes = { 'java' }, timeout_ms = 400, }, },