add ocaml

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-11-08 11:07:12 -06:00
parent a6f014273e
commit 83bfb8d51d
3 changed files with 9 additions and 3 deletions

View file

@ -208,12 +208,13 @@
vscode-langservers-extracted # HTML/CSS/JSON/ESLint vscode-langservers-extracted # HTML/CSS/JSON/ESLint
nodePackages.typescript-language-server nodePackages.typescript-language-server
tailwindcss-language-server tailwindcss-language-server
pyright python312Packages.python-lsp-server
rust-analyzer rust-analyzer
marksman # markdown marksman # markdown
taplo # toml taplo # toml
yaml-language-server yaml-language-server
lemminx # xml lemminx # xml
ocamlPackages.ocaml-lsp # ocaml
# Other # Other
typescript typescript
nodejs_20 nodejs_20

View file

@ -190,8 +190,8 @@ return {
}, },
}, },
}, },
pyright = { -- python
-- python pylsp = {
capabilities = capabilities, capabilities = capabilities,
}, },
marksman = { marksman = {
@ -219,6 +219,10 @@ return {
-- xml -- xml
capabilities = capabilities, capabilities = capabilities,
}, },
ocamllsp = {
-- ocaml
capabilities = capabilities,
}
} }
if NIX then if NIX then
local lsp_servers = vim.tbl_keys(servers or {}) local lsp_servers = vim.tbl_keys(servers or {})

View file

@ -44,6 +44,7 @@ local extensions = {
"tsx", "tsx",
"jsx", "jsx",
"rs", "rs",
"ml",
} }
local xdg_data_home = os.getenv("XDG_DATA_HOME") or (os.getenv("HOME") .. "/.local/share") local xdg_data_home = os.getenv("XDG_DATA_HOME") or (os.getenv("HOME") .. "/.local/share")