adding nix lsp
This commit is contained in:
parent
5aa403d70c
commit
0041b11e49
@ -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 {
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user