mirror of
https://git.sr.ht/~azikx/wyswort
synced 2024-10-30 07:06:19 +00:00
update
This commit is contained in:
parent
ce5c1b072b
commit
e7af954266
|
@ -1,6 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [ ./theme.nix ./health.nix ];
|
||||
imports = [ ./theme.nix ./languages.nix ];
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
nil
|
||||
marksman
|
||||
markdown-oxide
|
||||
yaml-language-server
|
||||
vscode-langservers-extracted
|
||||
# bash-language-server
|
||||
rust-analyzer
|
||||
python312Packages.python-lsp-server
|
||||
lua-language-server
|
||||
taplo
|
||||
];
|
||||
}
|
37
home/programs/cli/helix/languages.nix
Normal file
37
home/programs/cli/helix/languages.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.helix.languages = {
|
||||
language = [
|
||||
{
|
||||
name = "nix";
|
||||
language-servers = [ "nixd" "nil" ];
|
||||
indent = { tab-width = 4; unit = " "; };
|
||||
}
|
||||
];
|
||||
language-server = {
|
||||
nixd = {
|
||||
command = "nixd";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# LSP PACKGAES
|
||||
home.packages = with pkgs; [
|
||||
# NIX LSP
|
||||
nil
|
||||
nixd
|
||||
|
||||
# MARKDOWN LSP
|
||||
marksman
|
||||
markdown-oxide
|
||||
|
||||
# OTHER LSP
|
||||
yaml-language-server
|
||||
vscode-langservers-extracted
|
||||
# bash-language-server
|
||||
rust-analyzer
|
||||
python312Packages.python-lsp-server
|
||||
lua-language-server
|
||||
taplo
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue