nvim: Update neovim

Update for latest version of neovim and plugins

Signed-off-by: Nicholas Mello <nick@nmello.dev>
This commit is contained in:
2025-12-13 01:27:07 -06:00
parent e9e04935bb
commit 82379bed32
3 changed files with 21 additions and 22 deletions

View File

@@ -63,20 +63,18 @@ return {
},
},
config = function()
local lspconfig = require("lspconfig")
vim.lsp.config('lua_ls', {})
lspconfig.lua_ls.setup {}
vim.lsp.config('pyright', {})
lspconfig.pyright.setup {}
vim.lsp.config('bashls', {})
lspconfig.bashls.setup {}
vim.lsp.config('fish_lsp', {})
lspconfig.fish_lsp.setup {}
lspconfig.rust_analyzer.setup {
vim.lsp.config('rust_analyzer', {
root_dir = function(fname)
-- Look for Cargo.toml to define project root
return lspconfig.util.root_pattern("Cargo.toml")(fname)
return vim.lsp.config().util.root_pattern("Cargo.toml")(fname)
end,
settings = {
["rust-analyzer"] = {
@@ -84,7 +82,7 @@ return {
checkOnSave = { command = "clippy" }, -- Run linter
}
}
}
})
end,
},
{

View File

@@ -4,6 +4,7 @@ return {
tag = '0.1.8',
dependencies = { 'nvim-lua/plenary.nvim' },
cmd = "Telescope",
build = 'cmake -S -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release --target install',
keys = {
{ '<leader>f', '<cmd>Telescope find_files<cr>', mode = { "n" }, desc = "Telescope find_files" },
{ '<leader>b', '<cmd>Telescope buffers<cr>', mode = { "n" }, desc = "Telescope buffers" },