Skip to content

Commit

Permalink
Update inputs / Show helix diagnostic messages as hints
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Jan 28, 2025
1 parent a1cc0b9 commit aba9762
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 39 deletions.
40 changes: 20 additions & 20 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 1 addition & 18 deletions home/helix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,9 @@
pkgs.terraform-ls
pkgs.yaml-language-server
];
languages = {
language = [
{
name = "go";
auto-format = true;
formatter = {
command = "${pkgs.golines}/bin/golines";
};
}
{
name = "nix";
auto-format = true;
formatter = {
command = "${pkgs.nixfmt-rfc-style}/bin/nixfmt";
};
}
];
};
settings = {
editor = {
end-of-line-diagnostics = "hint";
file-picker.hidden = false;
line-number = "relative";
};
Expand Down
2 changes: 1 addition & 1 deletion home/neovim/plugins/conform/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require("conform").setup({
formatters_by_ft = {
go = { "golines" },
lua = { "stylua" },
nix = { "nixfmt" },
-- nix = { "nixfmt" },
terraform = { "terraform_fmt" },
},
})

0 comments on commit aba9762

Please sign in to comment.