Add per-language modules
Each module defines its LSP servers, treesitter parsers, mason packages, optional plugins, and per-filetype cmp source overrides. Modules: rust (with snippet-free cmp config), csharp, c (clangd), nix (nil_ls), python, web (ts_ls + html + tailwindcss), defaults (lua_ls + bashls + common parsers). Not yet wired into the plugin system ??? the orchestrator does that next.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
-- Language module: Python
|
||||
local shared = require('languages._shared')
|
||||
|
||||
return {
|
||||
servers = {
|
||||
pylsp = {
|
||||
capabilities = shared.make_capabilities(false),
|
||||
},
|
||||
},
|
||||
|
||||
parsers = { "python" },
|
||||
|
||||
mason_packages = { "python-lsp-server" },
|
||||
|
||||
plugins = {},
|
||||
|
||||
cmp_filetypes = {},
|
||||
}
|
||||
Reference in New Issue
Block a user