diff --git a/config/nvim/lua/plugins/blink.lua b/config/nvim/lua/plugins/blink.lua index 88bade6..a11ec0a 100644 --- a/config/nvim/lua/plugins/blink.lua +++ b/config/nvim/lua/plugins/blink.lua @@ -95,6 +95,7 @@ return { -- elsewhere in your config, without redefining it, via `opts_extend` sources = { default = { + 'lazydev', 'lsp', 'snippets', 'copilot', @@ -106,6 +107,12 @@ return { name = 'copilot', module = 'blink-cmp-copilot', }, + lazydev = { + name = 'LazyDev', + module = 'lazydev.integrations.blink', + -- make lazydev completions top priority (see `:h blink.cmp`) + score_offset = 100, + }, }, }, diff --git a/config/nvim/lua/plugins/lsp.lua b/config/nvim/lua/plugins/lsp.lua index cded711..cb7843f 100644 --- a/config/nvim/lua/plugins/lsp.lua +++ b/config/nvim/lua/plugins/lsp.lua @@ -124,6 +124,9 @@ return { library = { -- Load luvit types when the `vim.uv` word is found { path = 'luvit-meta/library', words = { 'vim%.uv' } }, + -- load assert and describe paths + { path = 'luassert/library', words = { 'assert' } }, + { path = 'busted/library', words = { 'describe' } }, }, }, },