mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
add(nvim): perl lsp
This commit is contained in:
parent
a42d00118a
commit
5ad99083cf
2 changed files with 28 additions and 21 deletions
|
|
@ -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 --
|
||||
------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue