From 92b35d5babd03c2107cb8ce2500d8c9eb480a0d2 Mon Sep 17 00:00:00 2001 From: Fey Naomi Schrewe Date: Tue, 10 Sep 2024 17:29:42 +0200 Subject: [PATCH] fix: set up lazdev correctly --- lazy-lock.json | 4 +++- lua/plugins.lua | 13 ++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 3f2441a..ba4fffe 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -18,7 +18,9 @@ "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, "gitsigns.nvim": { "branch": "main", "commit": "1ef74b546732f185d0f806860fa5404df7614f28" }, "lazy.nvim": { "branch": "main", "commit": "48b52b5cfcf8f88ed0aff8fde573a5cc20b1306d" }, + "lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" }, "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, + "luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" }, "neo-tree.nvim": { "branch": "v3.x", "commit": "29f7c215332ba95e470811c380ddbce2cebe2af4" }, "neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" }, "neogit": { "branch": "master", "commit": "bc0c609e3568a171e0549b449aa1b2b4b5b20e8c" }, @@ -33,7 +35,7 @@ "nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, "nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" }, "nvim-test": { "branch": "main", "commit": "e06f3d029ee161f3ead6193cf27354d1eb8723c3" }, - "nvim-treesitter": { "branch": "master", "commit": "00f128dd73086aa578dc3d9142de06c633b7c685" }, + "nvim-treesitter": { "branch": "master", "commit": "4770d9a1a77b0cc2b723c646c3dbe43a9133e5db" }, "nvim-treesitter-endwise": { "branch": "master", "commit": "8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "nvim-web-devicons": { "branch": "master", "commit": "9793801f974bba70e4ac5d7eae6c4f5659993d8e" }, diff --git a/lua/plugins.lua b/lua/plugins.lua index f4e366d..2552a65 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -47,7 +47,7 @@ return { config = function() require 'cmp-setup' end }, 'lukas-reineke/cmp-under-comparator', - { 'neovim/nvim-lspconfig', config = function() require 'lsp-setup' end, dependencies = 'neodev.nvim' }, + { 'neovim/nvim-lspconfig', config = function() require 'lsp-setup' end }, { 'folke/neodev.nvim', opts = { @@ -59,6 +59,17 @@ return { enabled = not hasversion(0, 10), lazy = false }, + { + "folke/lazydev.nvim", + ft = "lua", -- only load on lua files + opts = { + library = { + { path = "luvit-meta/library", words = { "vim%.uv" } }, + }, + }, + enabled = hasversion(0, 10), + }, + { "Bilal2453/luvit-meta", lazy = true }, 'simrat39/rust-tools.nvim', 'mfussenegger/nvim-dap', {