summaryrefslogtreecommitdiff
path: root/nvim/lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua')
-rw-r--r--nvim/lua/config/blink-cmp.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/nvim/lua/config/blink-cmp.lua b/nvim/lua/config/blink-cmp.lua
index bdda057..555e139 100644
--- a/nvim/lua/config/blink-cmp.lua
+++ b/nvim/lua/config/blink-cmp.lua
@@ -23,9 +23,19 @@ return {
sources = {
default = { 'lsp', 'path', 'snippets', 'buffer' },
+ providers = {
+ snippets = {
+ opts = {
+ friendly_snippets = true,
+ extended_filetypes = {
+ typescript = { 'javascript' },
+ }
+ }
+ }
+ }
},
- fuzzy = { implementation = "prefer_rust_with_warning" }
+ fuzzy = { implementation = "prefer_rust_with_warning" },
},
opts_extend = { "sources.default" }
}