Skip to content
Snippets Groups Projects
Commit 2081dbf1 authored by Jan Hensel's avatar Jan Hensel
Browse files

nvim: Use mason and let lazy init lsp settings

These are not unrelated to each other, mason and lsp need to load in
a specific order, so my setup was counter to that.

this also adds dap/dapui (I guess)
parent b4785b45
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,6 @@ EOF
lua require('ztf.colorscheme').apply()
lua require("ztf.lsp")
lua require("ztf.dap")
lua require('ztf.treesitter')
......
......@@ -31,21 +31,35 @@ local plugins = {
'tpope/vim-characterize',
'tommcdo/vim-lion',
'neovim/nvim-lspconfig',
'mfussenegger/nvim-dap',
{
"rcarriga/nvim-dap-ui",
lazy = true,
config = function() require("ztf.configure.dapui") end,
dependencies = { "mfussenegger/nvim-dap" },
"williamboman/mason.nvim",
opts = {},
},
{
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
opts = {
ensure_installed = {
"tinymist",
"rust_analyzer",
"rust_analyzer",
"lua_ls",
},
},
dependencies = { "williamboman/mason.nvim" },
},
{
'neovim/nvim-lspconfig',
dependencies = { "williamboman/mason-lspconfig.nvim" },
config = function()
require("ztf.lsp")
end,
},
'mfussenegger/nvim-dap',
{
"rcarriga/nvim-dap-ui",
lazy = true,
config = function() require("ztf.configure.dapui") end,
dependencies = { "mfussenegger/nvim-dap" },
},
-- rust
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment