add ocaml
This commit is contained in:
parent
a6f014273e
commit
83bfb8d51d
3 changed files with 9 additions and 3 deletions
|
@ -208,12 +208,13 @@
|
|||
vscode-langservers-extracted # HTML/CSS/JSON/ESLint
|
||||
nodePackages.typescript-language-server
|
||||
tailwindcss-language-server
|
||||
pyright
|
||||
python312Packages.python-lsp-server
|
||||
rust-analyzer
|
||||
marksman # markdown
|
||||
taplo # toml
|
||||
yaml-language-server
|
||||
lemminx # xml
|
||||
ocamlPackages.ocaml-lsp # ocaml
|
||||
# Other
|
||||
typescript
|
||||
nodejs_20
|
||||
|
|
|
@ -190,8 +190,8 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
pyright = {
|
||||
-- python
|
||||
-- python
|
||||
pylsp = {
|
||||
capabilities = capabilities,
|
||||
},
|
||||
marksman = {
|
||||
|
@ -219,6 +219,10 @@ return {
|
|||
-- xml
|
||||
capabilities = capabilities,
|
||||
},
|
||||
ocamllsp = {
|
||||
-- ocaml
|
||||
capabilities = capabilities,
|
||||
}
|
||||
}
|
||||
if NIX then
|
||||
local lsp_servers = vim.tbl_keys(servers or {})
|
||||
|
|
|
@ -44,6 +44,7 @@ local extensions = {
|
|||
"tsx",
|
||||
"jsx",
|
||||
"rs",
|
||||
"ml",
|
||||
}
|
||||
|
||||
local xdg_data_home = os.getenv("XDG_DATA_HOME") or (os.getenv("HOME") .. "/.local/share")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue