Added nixd
This commit is contained in:
parent
d5969ca923
commit
d739f578a1
5
.nixd.json
Normal file
5
.nixd.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"formatting": {
|
||||
"command": "alejandra"
|
||||
}
|
||||
}
|
|
@ -19,7 +19,7 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [fzf fd];
|
||||
environment.systemPackages = with pkgs; [fzf fd nixd];
|
||||
|
||||
aa.home.dataFile = {
|
||||
${cfg.tmuxThemePath}.source = ./tmux_theme;
|
||||
|
@ -150,6 +150,13 @@ in {
|
|||
settings = {
|
||||
"coc.preferences.formatOnSave" = true;
|
||||
"python.formatting.provider" = "black";
|
||||
"languageserver" = {
|
||||
"nixd" = {
|
||||
"command" = "nixd";
|
||||
"rootPatterns" = [".nixd.json"];
|
||||
"filetypes" = ["nix"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Copied the below from coc's README
|
||||
|
|
Loading…
Reference in a new issue