Merge branch 'main' of https://github.com/Zynh0722/nvim
This commit is contained in:
commit
9def110560
3 changed files with 38 additions and 2 deletions
|
@ -3,12 +3,10 @@
|
|||
"lazyvim.plugins.extras.dap.core",
|
||||
"lazyvim.plugins.extras.editor.aerial",
|
||||
"lazyvim.plugins.extras.formatting.prettier",
|
||||
"lazyvim.plugins.extras.lang.clangd",
|
||||
"lazyvim.plugins.extras.lang.elixir",
|
||||
"lazyvim.plugins.extras.lang.go",
|
||||
"lazyvim.plugins.extras.lang.java",
|
||||
"lazyvim.plugins.extras.lang.omnisharp",
|
||||
"lazyvim.plugins.extras.lang.ruby",
|
||||
"lazyvim.plugins.extras.lang.rust",
|
||||
"lazyvim.plugins.extras.lang.tailwind",
|
||||
"lazyvim.plugins.extras.lang.typescript",
|
||||
|
|
|
@ -7,6 +7,19 @@ return {
|
|||
-- -@type lspconfig.options
|
||||
servers = {
|
||||
-- pyright will be automatically installed with mason and loaded with lspconfig
|
||||
nil_ls = {
|
||||
mason = false,
|
||||
settings = {
|
||||
["nil"] = {
|
||||
formatting = {
|
||||
command = { "nixpkgs-fmt" },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
lua_ls = {
|
||||
mason = false,
|
||||
},
|
||||
rust_analyzer = {
|
||||
mason = false,
|
||||
-- settings = {
|
||||
|
|
25
lua/plugins/nix-workarounds.lua
Normal file
25
lua/plugins/nix-workarounds.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = function(_, opts)
|
||||
-- add tsx and treesitter
|
||||
-- vim.list_extend(opts.ensure_installed, {
|
||||
-- "tsx",
|
||||
-- "typescript",
|
||||
-- })
|
||||
opts.ensure_installed = {}
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = function(_, opts)
|
||||
-- add tsx and treesitter
|
||||
-- vim.list_extend(opts.ensure_installed, {
|
||||
-- "tsx",
|
||||
-- "typescript",
|
||||
-- })
|
||||
opts.ensure_installed = {}
|
||||
end,
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue