nixd and remove ripple
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
return {
|
||||||
|
cmd = { "nixd" },
|
||||||
|
filetypes = { "nix" },
|
||||||
|
root_markers = { "flake.nix", ".git" },
|
||||||
|
}
|
||||||
@@ -1,7 +1,4 @@
|
|||||||
return {
|
return {
|
||||||
-- Mason for installing LSP servers
|
|
||||||
{ "mason-org/mason.nvim", opts = {} },
|
|
||||||
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
|
||||||
|
|
||||||
-- Useful status updates for LSP.
|
-- Useful status updates for LSP.
|
||||||
{ "j-hui/fidget.nvim", opts = {} },
|
{ "j-hui/fidget.nvim", opts = {} },
|
||||||
@@ -178,18 +175,6 @@ return {
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- Install tools via mason-tool-installer
|
-- Install tools via mason-tool-installer
|
||||||
require("mason-tool-installer").setup({
|
|
||||||
ensure_installed = {
|
|
||||||
"stylua",
|
|
||||||
"lua-language-server",
|
|
||||||
"pyright",
|
|
||||||
"css-lsp",
|
|
||||||
"eslint-lsp",
|
|
||||||
"vtsls",
|
|
||||||
"tailwindcss-language-server",
|
|
||||||
"biome",
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Load custom LSP configs from nvim/lsp/*.lua to override nvim-lspconfig defaults
|
-- Load custom LSP configs from nvim/lsp/*.lua to override nvim-lspconfig defaults
|
||||||
local lsp_path = vim.fn.stdpath("config") .. "/lsp"
|
local lsp_path = vim.fn.stdpath("config") .. "/lsp"
|
||||||
@@ -215,6 +200,7 @@ return {
|
|||||||
"svelte",
|
"svelte",
|
||||||
"tailwindcss",
|
"tailwindcss",
|
||||||
"biome",
|
"biome",
|
||||||
|
"nixd",
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ return {
|
|||||||
"javascript",
|
"javascript",
|
||||||
"typescript",
|
"typescript",
|
||||||
"tsx",
|
"tsx",
|
||||||
"ripple",
|
|
||||||
"c",
|
"c",
|
||||||
"lua",
|
"lua",
|
||||||
"rust",
|
"rust",
|
||||||
@@ -26,14 +25,9 @@ return {
|
|||||||
"css",
|
"css",
|
||||||
"scss",
|
"scss",
|
||||||
"gdscript",
|
"gdscript",
|
||||||
|
"nix",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Enable treesitter highlighting and indentation
|
-- Enable treesitter highlighting - indentexpr set automatically per filetype
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
|
||||||
callback = function()
|
|
||||||
pcall(vim.treesitter.start)
|
|
||||||
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user