13 lines
386 B
Fennel
13 lines
386 B
Fennel
(module config.plugin.lspconfig
|
|
{autoload {nvim aniseed.nvim
|
|
util config.util}})
|
|
|
|
|
|
(let [(lspconfig? lspconfig) (pcall require :lspconfig)
|
|
(mason? mason) (pcall require :mason)
|
|
(mason-lsp? mason-lsp) (pcall require :mason-lspconfig)]
|
|
(when ok?
|
|
(mason.setup)
|
|
(mason-lsp.setup)
|
|
(lspconfig.rust_analyzer.setup {})
|
|
(lspconfig.yamlls.setup {})))
|