1
0
Fork 0
mirror of https://git.sr.ht/~azikx/wyswort synced 2024-10-30 09:06:19 +00:00

update 

This commit is contained in:
azikx 2024-10-13 10:16:18 +09:00
parent ce5c1b072b
commit e7af954266
3 changed files with 38 additions and 16 deletions

View file

@ -1,6 +1,6 @@
{ ... }: { ... }:
{ {
imports = [ ./theme.nix ./health.nix ]; imports = [ ./theme.nix ./languages.nix ];
programs.helix = { programs.helix = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;

View file

@ -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
];
}

View 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
];
}