adding nix lsp

This commit is contained in:
Ivan Dimitrov 2023-07-03 16:12:30 +03:00
parent 5aa403d70c
commit 0041b11e49
2 changed files with 9 additions and 1 deletions

View File

@ -4,7 +4,7 @@ local capabilities = require("plugins.configs.lspconfig").capabilities
local lspconfig = require "lspconfig"
-- if you just want default config for the servers then put them in a table
local servers = { "html", "cssls", "tsserver", "clangd" }
local servers = { "html", "cssls", "tsserver", "clangd", "rnix" }
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup {

View File

@ -37,9 +37,17 @@ M.mason = {
-- c/cpp stuff
"clangd",
"clang-format",
-- NixOS stuff
"rnix-lsp"
},
}
M.ui = {
transparency = true,
theme = "catppuccin"
}
-- git support in nvimtree
M.nvimtree = {
git = {