From 58e718d21bdae6d2aafcaef189f10dcf176f0846 Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Fri, 31 Oct 2025 16:20:07 +0100 Subject: add JS snippets to TS --- nvim/lua/config/blink-cmp.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'nvim/lua') 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" } } -- cgit v1.3.1