-
Notifications
You must be signed in to change notification settings - Fork 0
/
nvim_lspconfig.lua
30 lines (29 loc) · 960 Bytes
/
nvim_lspconfig.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
return {
{
"neovim/nvim-lspconfig",
-- stylua: ignore
---@class PluginLspOpts
opts = {
---@type lspconfig.options
servers = {
-- these lsp will be automatically installed with mason and loaded with lspconfig
pyright = {},
r_language_server = {},
julials = {},
marksman = {
-- also needs:
-- $home/.config/marksman/config.toml :
-- [core]
-- markdown.file_extensions = ["md", "markdown", "qmd"]
filetypes = { "markdown", "quarto" },
root_dir = require("lspconfig.util").root_pattern(
".git",
".marksman.toml",
"_quarto.yml"
),
},
mojo = {},
},
},
},
}