lots of small changes after using nixos for ~1 month
This commit is contained in:
parent
6e817ea9a8
commit
f383aeda99
4 changed files with 50 additions and 52 deletions
|
|
@ -17,11 +17,7 @@ vim.opt.rtp:prepend(lazypath)
|
|||
|
||||
require("lazy").setup({
|
||||
{ "catppuccin/nvim", name = "catppuccin" },
|
||||
{ "williamboman/mason.nvim", opts = {} },
|
||||
{ "williamboman/mason-lspconfig.nvim", opts = {} },
|
||||
"neovim/nvim-lspconfig",
|
||||
"mfussenegger/nvim-dap",
|
||||
{ "jay-babu/mason-nvim-dap.nvim", opts = {} },
|
||||
{"nvim-treesitter/nvim-treesitter", lazy = false, branch = "main", build = ":TSUpdate", opts = {}},
|
||||
{ "nvim-tree/nvim-tree.lua", opts = {} },
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
|
|
@ -88,12 +84,7 @@ cmp.setup({
|
|||
|
||||
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||
|
||||
require("mason-lspconfig").setup({
|
||||
function (server_name)
|
||||
require("lspconfig")[server_name].setup({
|
||||
capabilities = capabilities
|
||||
})
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
vim.lsp.enable("rust_analyzer")
|
||||
vim.lsp.enable("pylsp")
|
||||
vim.lsp.enable("biome")
|
||||
vim.lsp.enable("eslint")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue