Compare commits

..

2 Commits

Author SHA1 Message Date
Raoul Branten
cd0e85ec47 add lsp 2025-05-21 14:53:45 +02:00
Raoul Branten
416d127e9d Update nvim version to 0.10.4 2025-05-20 14:46:27 +02:00
3 changed files with 24 additions and 1 deletions

View File

@ -14,7 +14,7 @@ vim.opt.colorcolumn = "81"
vim.opt.autoread = true
vim.opt.wildmode = 'longest,list'
vim.opt.ttyfast = true
vim.opt.pastetoggle = '<F3>'
--vim.opt.pastetoggle = '<F3>'
-- formatting
vim.opt.expandtab = true

View File

@ -59,6 +59,29 @@ return {
'chentoast/marks.nvim',
--# indentwise, helps with indentation formatting
"jeetsukumaran/vim-indentwise",
--# lsp, the lazy way
{
"dundalek/lazy-lsp.nvim",
dependencies = {
"neovim/nvim-lspconfig",
{"VonHeikemen/lsp-zero.nvim", branch = "v3.x"},
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/nvim-cmp",
},
config = function()
local lsp_zero = require("lsp-zero")
lsp_zero.on_attach(function(client, bufnr)
-- see :help lsp-zero-keybindings to learn the available actions
lsp_zero.default_keymaps({
buffer = bufnr,
preserve_mappings = false
})
end)
require("lazy-lsp").setup {}
end,
},
}
--"lukas-reineke/indent-blankline.nvim",
--"williamboman/mason.nvim",

Binary file not shown.