add(nvim): perl lsp

This commit is contained in:
Léana 江 2023-11-26 11:24:11 +01:00 committed by Léana 江
parent a42d00118a
commit 5ad99083cf
2 changed files with 28 additions and 21 deletions

View file

@ -10,25 +10,32 @@ local Concat = require "utils".Concat
-- Language servers --
----------------------
local servers = {
bashls = {}, -- bash
clangd = {}, -- C/CPP
cssls = {}, -- CSS
html = {}, -- HTML
jsonls = {}, -- JSON
lemminx = {}, -- XML
marksman = {}, -- Markdown
ocamllsp = { -- OCaml
bashls = {}, -- bash
clangd = {}, -- C/CPP
cssls = {}, -- CSS
html = {}, -- HTML
jsonls = {}, -- JSON
lemminx = {}, -- XML
marksman = {}, -- Markdown
pylsp = {}, -- Python
-- pyright = {},
-- pylyzer = {},
taplo = {}, -- toml
texlab = {}, -- texlab
tsserver = {}, -- TypeScript
vimls = {}, -- vim
perlnavigator = { -- Perl
cmd = { "~/.local/share/nvim/mason/bin/perlnavigator", "--stdio" },
},
ocamllsp = { -- OCaml
exclude = true,
},
pylsp = {}, -- Python
-- pyright = {},
-- pylyzer = {},
taplo = {}, -- toml
texlab = {}, -- texlab
tsserver = {}, -- TypeScript
typst_lsp = { exportPdf = "never" },
vimls = {}, -- vim
lua_ls = {
typst_lsp = { -- Typst
exportPdf = "never",
},
lua_ls = { -- Lua
Lua = {
format = {
defaultConfig = {
@ -42,8 +49,8 @@ local servers = {
},
},
},
}
}
------------------
-- Linters, etc --
------------------