Compare commits

...

5 Commits

Author SHA1 Message Date
b1815dcb75 Merge branch 'zephyrus' 2025-08-05 21:02:37 -04:00
cb42483d4c Switch to zsh 2025-08-05 21:02:09 -04:00
e1991fa1d8 neovim LSP 2025-08-05 21:01:07 -04:00
4139f4e40a Merge branch 'main' into zephyrus 2025-08-05 16:28:43 -04:00
23af131b11 Switch to zsh 2025-08-05 06:35:33 -04:00
4 changed files with 31 additions and 8 deletions

View File

@@ -21,5 +21,5 @@ local opts = {
checker = { enabled = true },
}
-- Setup lazy.nvim
require("vim-options")
require("lazy").setup("plugins", opts)

View File

@@ -1,7 +1,30 @@
return {
{
"neovim/nvim-lspconfig",
lazy = false,
config = function()
vim.lsp.enable("zls")
vim.lsp.enable("clangd")
local lspconfig = require("lspconfig")
lspconfig.lua_ls.setup({})
vim.keymap.set("n", "K", vim.lsp.buf.hover, {})
vim.keymap.set("n", "<leader>gd", vim.lsp.buf.definition, {})
vim.keymap.set("n", "<leader>gr", vim.lsp.buf.references, {})
vim.keymap.set("n", "<leader>ca", vim.lsp.buf.code_action, {})
vim.keymap.set('n', '<space>rn', vim.lsp.buf.rename, {})
end,
},
{
"williamboman/mason.nvim",
lazy = false,
config = function()
require("mason").setup()
end
},
{
"williamboman/mason-lspconfig.nvim",
lazy = false,
opts = {
auto_install = true,
},
}
}