Skip to content

Commit 808f628

Browse files
committed
fix: enable kind auto brackets for TS/JS
1 parent a4f5f8e commit 808f628

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ For LazyVim/distro users, you can disable nvim-cmp via:
128128
-- Synchronously use the kind of the item to determine if brackets should be added
129129
kind_resolution = {
130130
enabled = true,
131-
blocked_filetypes = { 'typescript', 'typescriptreact', 'javascript', 'javascriptreact', 'vue' },
131+
blocked_filetypes = { 'typescriptreact', 'javascriptreact', 'vue' },
132132
},
133133
-- Asynchronously use semantic token to determine if brackets should be added
134134
semantic_token_resolution = {

lua/blink/cmp/config.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ local config = {
161161
blocked_filetypes = {},
162162
kind_resolution = {
163163
enabled = true,
164-
blocked_filetypes = { 'typescript', 'typescriptreact', 'javascript', 'javascriptreact', 'vue' },
164+
blocked_filetypes = { 'typescriptreact', 'javascriptreact', 'vue' },
165165
},
166166
semantic_token_resolution = {
167167
enabled = true,

0 commit comments

Comments
 (0)