gleam language
This commit is contained in:
parent
c501caea6a
commit
3793184e75
|
@ -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
|
||||||
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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\"";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user