ocaml build-tools

This commit is contained in:
Léana 江 2023-10-08 13:05:34 +02:00 committed by Léana 江
parent 02889abd04
commit 5ee983b09b
3 changed files with 50 additions and 2 deletions

View file

@ -43,6 +43,11 @@ if status is-interactive
alias sbt "sbt -java-home $JAVA_HOME"
end
# OCaml opam environment
if command -q opam
eval (opam env)
end
# Ansible path
set -gx ANSIBLE_CONFIG ~/.ansible.cfg

View file

@ -208,7 +208,15 @@ require "lspconfig".typst_lsp.setup {
-- },
}
-- Standalone plugins
-- OCaml
require "lspconfig".ocamllsp.setup {
on_attach = on_attach,
capabilities = capabilities,
}
------------------------
-- Standalone plugins --
------------------------
-- Java
local config = {