Compare commits
2 commits
b405381404
...
7fb2e4ccb7
Author | SHA1 | Date | |
---|---|---|---|
7fb2e4ccb7 | |||
10b7754d41 |
2 changed files with 14 additions and 2 deletions
|
@ -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)
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue