@@ -112,7 +112,7 @@ Setting capabilities for `nvim-lspconfig`:
112
112
config = function (_ , opts )
113
113
local lspconfig = require (' lspconfig' )
114
114
for server , config in pairs (opts .servers ) do
115
- -- passing config.capabilities to blink.cmp merges with the capabilities in your
115
+ -- passing config.capabilities to blink.cmp merges with the capabilities in your
116
116
-- `opts[server].capabilities, if you've defined it
117
117
config .capabilities = require (' blink.cmp' ).get_lsp_capabilities (config .capabilities )
118
118
lspconfig [server ].setup (config )
@@ -123,7 +123,7 @@ Setting capabilities for `nvim-lspconfig`:
123
123
config = function ()
124
124
local capabilities = require (' blink.cmp' ).get_lsp_capabilities ()
125
125
local lspconfig = require (' lspconfig' )
126
-
126
+
127
127
lspconfig [' lua-ls' ].setup ({ capabilities = capabilities })
128
128
end
129
129
}
@@ -183,7 +183,7 @@ MiniDeps.add({
183
183
-- preset = 'default',
184
184
-- ['<Up>'] = { 'select_prev', 'fallback' },
185
185
-- ['<Down>'] = { 'select_next', 'fallback' },
186
- --
186
+ --
187
187
-- -- disable a keymap from the preset
188
188
-- ['<C-e>'] = {},
189
189
-- },
@@ -310,7 +310,7 @@ MiniDeps.add({
310
310
-- 'manual' will not select any item by default
311
311
-- 'auto_insert' will not select any item by default, and insert the completion items automatically
312
312
-- when selecting them
313
- --
313
+ --
314
314
-- You may want to bind a key to the `cancel` command, which will undo the selection
315
315
-- when using 'auto_insert'
316
316
cycle = {
@@ -475,7 +475,7 @@ MiniDeps.add({
475
475
enabled = false ,
476
476
},
477
477
},
478
-
478
+
479
479
-- Experimental signature help support
480
480
signature = {
481
481
enabled = false ,
@@ -507,7 +507,7 @@ MiniDeps.add({
507
507
-- when enabled, allows for a number of typos relative to the length of the query
508
508
-- disabling this matches the behavior of fzf
509
509
use_typo_resistance = true ,
510
- -- frencency tracks the most recently/frequently used items and boosts the score of the item
510
+ -- frecency tracks the most recently/frequently used items and boosts the score of the item
511
511
use_frecency = true ,
512
512
-- proximity bonus boosts the score of items matching nearby words
513
513
use_proximity = true ,
@@ -542,12 +542,12 @@ MiniDeps.add({
542
542
-- local node = vim.treesitter.get_node()
543
543
-- if vim.bo.filetype == 'lua' then
544
544
-- return { 'lsp', 'path' }
545
- -- elseif node and vim.tbl_contains({ 'comment', 'line_comment', 'block_comment' }) , node:type())
545
+ -- elseif node and vim.tbl_contains({ 'comment', 'line_comment', 'block_comment' }, node:type()) then
546
546
-- return { 'buffer' }
547
547
-- else
548
548
-- return { 'lsp', 'path', 'snippets', 'buffer' }
549
549
-- end
550
- -- end
550
+ -- end,
551
551
},
552
552
553
553
-- Please see https://github.com/Saghen/blink.compat for using `nvim-cmp` sources
0 commit comments