diff --git a/neovim/lazy-lock.json b/neovim/lazy-lock.json index 69f514d..b4a4bb0 100644 --- a/neovim/lazy-lock.json +++ b/neovim/lazy-lock.json @@ -35,7 +35,6 @@ "nvim-cmp": { "branch": "main", "commit": "d97d85e01339f01b842e6ec1502f639b080cb0fc" }, "nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" }, "nvim-comment": { "branch": "main", "commit": "e9ac16ab056695cad6461173693069ec070d2b23" }, - "nvim-dap": { "branch": "master", "commit": "5860c7c501eb428d3137ee22c522828d20cca0b3" }, "nvim-lspconfig": { "branch": "feat(lsp)/smarter-typescript-project-detection", "commit": "386c9a3937510c9e4521720a57ae739b56a98f52" }, "nvim-navic": { "branch": "master", "commit": "7d914a39a1ef8f4e22c2c4381abeef7c556f5a13" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, @@ -46,7 +45,6 @@ "presence.nvim": { "branch": "main", "commit": "1c0585004470b62262288ad821afc2138a2a6b26" }, "remote-sshfs.nvim": { "branch": "main", "commit": "45502b3892774811153aeab5f7f9b0033c82005c" }, "rust-tools.nvim": { "branch": "master", "commit": "676187908a1ce35ffcd727c654ed68d851299d3e" }, - "rust.vim": { "branch": "master", "commit": "889b9a7515db477f4cb6808bef1769e53493c578" }, "rustaceanvim": { "branch": "master", "commit": "047f9c9d8cd2861745eb9de6c1570ee0875aa795" }, "satellite.nvim": { "branch": "main", "commit": "7c2e5a4064abb0066a0bf157e7a137f1bcdeace2" }, "schemastore.nvim": { "branch": "main", "commit": "5f2299987a1937612c910f00db39156bab6a6b35" }, diff --git a/neovim/lua/plugin-settings/lsp.lua b/neovim/lua/plugin-settings/lsp.lua index 6ff3cce..e1efd2d 100644 --- a/neovim/lua/plugin-settings/lsp.lua +++ b/neovim/lua/plugin-settings/lsp.lua @@ -3,13 +3,7 @@ return { { 'mrcjkb/rustaceanvim', version = '^4', - lazy = true, - ft = { 'rust' }, - dependencies = { - 'rust-lang/rust.vim', - 'neovim/nvim-lspconfig', - 'mfussenegger/nvim-dap', - }, + lazy = false, init = function() -- Rust vim.g.rustaceanvim = { @@ -28,6 +22,9 @@ return { end, default_settings = { ['rust-analyzer'] = { + files = { + excludeDirs = { '.direnv' }, + }, check = { command = 'clippy', },