gleam language

This commit is contained in:
xenia 2024-06-03 00:16:57 +02:00
parent c501caea6a
commit 3793184e75
3 changed files with 9 additions and 0 deletions

View File

@ -184,3 +184,6 @@ hook global WinSetOption filetype=python %{
set-option window formatcmd 'black -q -'
}
hook global BufCreate .*\.gleam %{
set-option buffer filetype gleam
}

View File

@ -30,6 +30,7 @@ in rec {
# Programming languages
jq
rink numbat
gleam glas
ghc
( python311.withPackages (ps: with ps; [
numpy matplotlib sympy scipy pandas jupyter

View File

@ -67,6 +67,11 @@ with pkgs; let
filetypes = ["c"]
roots = ["compile_commands.json"]
command = "clangd"
[language.gleam]
filetypes = ["gleam"]
roots = ["gleam.toml"]
command = "glas"
'';
kak-lsp-config-line = "set global lsp_cmd \"${kak-lsp}/bin/kak-lsp -s %val{session} --config ${kak-lsp-config-file} --log /tmp/kak-lsp.log\"";