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 -' 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 # Programming languages
jq jq
rink numbat rink numbat
gleam glas
ghc ghc
( python311.withPackages (ps: with ps; [ ( python311.withPackages (ps: with ps; [
numpy matplotlib sympy scipy pandas jupyter numpy matplotlib sympy scipy pandas jupyter

View File

@ -67,6 +67,11 @@ with pkgs; let
filetypes = ["c"] filetypes = ["c"]
roots = ["compile_commands.json"] roots = ["compile_commands.json"]
command = "clangd" 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\""; 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\"";