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")
|
||||
if has_lsp_format then
|
||||
lsp_format.setup {
|
||||
typescript = { exclude = { "tsserver" } },
|
||||
javascript = { exclude = { "tsserver" } },
|
||||
typescriptreact = { exclude = { "tsserver" } },
|
||||
javascriptreact = { exclude = { "tsserver" } },
|
||||
typescript = { exclude = { "ts_ls" } },
|
||||
javascript = { exclude = { "ts_ls" } },
|
||||
typescriptreact = { exclude = { "ts_ls" } },
|
||||
javascriptreact = { exclude = { "ts_ls" } },
|
||||
}
|
||||
end
|
||||
|
||||
|
@ -150,7 +150,7 @@ local servers = {
|
|||
cmd = { "lexical" },
|
||||
},
|
||||
gleam = {},
|
||||
tsserver = {
|
||||
ts_ls = {
|
||||
root_dir = function(filename, _)
|
||||
local deno = lspconfig.util.root_pattern("deno.json", "deno.jsonc")(filename)
|
||||
if deno then
|
||||
|
|
|
@ -44,25 +44,25 @@ return {
|
|||
require "mini.bufremove".setup()
|
||||
end
|
||||
},
|
||||
{
|
||||
"yetone/avante.nvim",
|
||||
event = "VeryLazy",
|
||||
build = "make BUILD_FROM_SOURCE=true luajit",
|
||||
opts = {
|
||||
-- add any opts here
|
||||
},
|
||||
dependencies = {
|
||||
"stevearc/dressing.nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
--- The below is optional, make sure to setup it properly if you have lazy=true
|
||||
{
|
||||
'MeanderingProgrammer/render-markdown.nvim',
|
||||
opts = {
|
||||
file_types = { "markdown", "Avante" },
|
||||
},
|
||||
ft = { "markdown", "Avante" },
|
||||
},
|
||||
},
|
||||
}
|
||||
-- {
|
||||
-- "yetone/avante.nvim",
|
||||
-- event = "VeryLazy",
|
||||
-- build = "make BUILD_FROM_SOURCE=true luajit",
|
||||
-- opts = {
|
||||
-- -- add any opts here
|
||||
-- },
|
||||
-- dependencies = {
|
||||
-- "stevearc/dressing.nvim",
|
||||
-- "nvim-lua/plenary.nvim",
|
||||
-- "MunifTanjim/nui.nvim",
|
||||
-- --- The below is optional, make sure to setup it properly if you have lazy=true
|
||||
-- {
|
||||
-- 'MeanderingProgrammer/render-markdown.nvim',
|
||||
-- opts = {
|
||||
-- file_types = { "markdown", "Avante" },
|
||||
-- },
|
||||
-- ft = { "markdown", "Avante" },
|
||||
-- },
|
||||
-- },
|
||||
-- }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue