summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/lazydev.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins/lazydev.lua')
-rw-r--r--.config/nvim/lua/plugins/lazydev.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/lazydev.lua b/.config/nvim/lua/plugins/lazydev.lua
new file mode 100644
index 0000000..327ba76
--- /dev/null
+++ b/.config/nvim/lua/plugins/lazydev.lua
@@ -0,0 +1,26 @@
+return {
+ {
+ "folke/lazydev.nvim",
+ ft = "lua",
+ opts = {
+ library = {
+ { path = "${3rd}/luv/library", words = { "vim%.uv" } },
+ },
+ },
+ },
+ {
+ "saghen/blink.cmp",
+ opts = {
+ sources = {
+ default = { "lazydev", "lsp", "path", "snippets", "buffer" },
+ providers = {
+ lazydev = {
+ name = "LazyDev",
+ module = "lazydev.integrations.blink",
+ score_offset = 100,
+ },
+ },
+ },
+ },
+ },
+}