1
0
Fork 0

Compare commits

...

2 commits

Author SHA1 Message Date
7fb2e4ccb7
nvim: treefmt formatting using stdin 2024-04-24 20:40:30 +02:00
10b7754d41
firefox: add noogle 2024-04-24 20:15:00 +02:00
2 changed files with 14 additions and 2 deletions

View file

@ -18,8 +18,8 @@
ext-glob (.. "*." ext)] ext-glob (.. "*." ext)]
(if (vim.list_contains treefmt-exts ext-glob) (if (vim.list_contains treefmt-exts ext-glob)
{:command :treefmt {:command :treefmt
:args [tmp-filename] :args [:--stdin tmp-filename]
:stdin false :stdin true
:cwd (conform-util.root_file [:flake.nix :flake.lock]) :cwd (conform-util.root_file [:flake.nix :flake.lock])
:require_cwd true} :require_cwd true}
(= (vim.fn.executable fallback.command) 1) (= (vim.fn.executable fallback.command) 1)

View file

@ -246,6 +246,18 @@
definedAliases = [ "!nixopt" ]; definedAliases = [ "!nixopt" ];
}; };
"Noogle" = {
urls = [{
template = "https://noogle.dev/q";
params = [
{ name = "term"; value = "{searchTerms}"; }
];
}];
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "!nfn" ];
};
"Hex" = { "Hex" = {
urls = [{ urls = [{
template = "https://hex.pm/packages"; template = "https://hex.pm/packages";