nvim
This commit is contained in:
parent
4a2627a2df
commit
6778215d78
2 changed files with 26 additions and 26 deletions
|
@ -13,10 +13,10 @@ end
|
||||||
local has_lsp_format, lsp_format = pcall(require, "lsp-format")
|
local has_lsp_format, lsp_format = pcall(require, "lsp-format")
|
||||||
if has_lsp_format then
|
if has_lsp_format then
|
||||||
lsp_format.setup {
|
lsp_format.setup {
|
||||||
typescript = { exclude = { "tsserver" } },
|
typescript = { exclude = { "ts_ls" } },
|
||||||
javascript = { exclude = { "tsserver" } },
|
javascript = { exclude = { "ts_ls" } },
|
||||||
typescriptreact = { exclude = { "tsserver" } },
|
typescriptreact = { exclude = { "ts_ls" } },
|
||||||
javascriptreact = { exclude = { "tsserver" } },
|
javascriptreact = { exclude = { "ts_ls" } },
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ local servers = {
|
||||||
cmd = { "lexical" },
|
cmd = { "lexical" },
|
||||||
},
|
},
|
||||||
gleam = {},
|
gleam = {},
|
||||||
tsserver = {
|
ts_ls = {
|
||||||
root_dir = function(filename, _)
|
root_dir = function(filename, _)
|
||||||
local deno = lspconfig.util.root_pattern("deno.json", "deno.jsonc")(filename)
|
local deno = lspconfig.util.root_pattern("deno.json", "deno.jsonc")(filename)
|
||||||
if deno then
|
if deno then
|
||||||
|
|
|
@ -44,25 +44,25 @@ return {
|
||||||
require "mini.bufremove".setup()
|
require "mini.bufremove".setup()
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
{
|
-- {
|
||||||
"yetone/avante.nvim",
|
-- "yetone/avante.nvim",
|
||||||
event = "VeryLazy",
|
-- event = "VeryLazy",
|
||||||
build = "make BUILD_FROM_SOURCE=true luajit",
|
-- build = "make BUILD_FROM_SOURCE=true luajit",
|
||||||
opts = {
|
-- opts = {
|
||||||
-- add any opts here
|
-- -- add any opts here
|
||||||
},
|
-- },
|
||||||
dependencies = {
|
-- dependencies = {
|
||||||
"stevearc/dressing.nvim",
|
-- "stevearc/dressing.nvim",
|
||||||
"nvim-lua/plenary.nvim",
|
-- "nvim-lua/plenary.nvim",
|
||||||
"MunifTanjim/nui.nvim",
|
-- "MunifTanjim/nui.nvim",
|
||||||
--- The below is optional, make sure to setup it properly if you have lazy=true
|
-- --- The below is optional, make sure to setup it properly if you have lazy=true
|
||||||
{
|
-- {
|
||||||
'MeanderingProgrammer/render-markdown.nvim',
|
-- 'MeanderingProgrammer/render-markdown.nvim',
|
||||||
opts = {
|
-- opts = {
|
||||||
file_types = { "markdown", "Avante" },
|
-- file_types = { "markdown", "Avante" },
|
||||||
},
|
-- },
|
||||||
ft = { "markdown", "Avante" },
|
-- ft = { "markdown", "Avante" },
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
}
|
-- }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue