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"
|
local lspconfig = require "lspconfig"
|
||||||
|
|
||||||
-- if you just want default config for the servers then put them in a table
|
-- 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
|
for _, lsp in ipairs(servers) do
|
||||||
lspconfig[lsp].setup {
|
lspconfig[lsp].setup {
|
||||||
|
@ -37,9 +37,17 @@ M.mason = {
|
|||||||
-- c/cpp stuff
|
-- c/cpp stuff
|
||||||
"clangd",
|
"clangd",
|
||||||
"clang-format",
|
"clang-format",
|
||||||
|
|
||||||
|
-- NixOS stuff
|
||||||
|
"rnix-lsp"
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
M.ui = {
|
||||||
|
transparency = true,
|
||||||
|
theme = "catppuccin"
|
||||||
|
}
|
||||||
|
|
||||||
-- git support in nvimtree
|
-- git support in nvimtree
|
||||||
M.nvimtree = {
|
M.nvimtree = {
|
||||||
git = {
|
git = {
|
||||||
|
Loading…
Reference in New Issue
Block a user