summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2024-05-14 22:09:53 -0400
committerBen Sima <ben@bsima.me>2024-05-20 22:15:51 -0400
commit81108da4b9efb5e2699b9b4167e13d695be8e4d3 (patch)
treefbe35380139c30ef660b7fc6585bc82784ce6709
parent20985f8985d810092a84f31a705144b9318235dd (diff)
Switch to universal-ctags
It's supposedly faster and actually maintained. Also make preview window in ftags.sh a bit more robust.
-rw-r--r--Biz/Bild.nix8
-rwxr-xr-xBiz/Ide/ftags.sh2
2 files changed, 5 insertions, 5 deletions
diff --git a/Biz/Bild.nix b/Biz/Bild.nix
index dabebd4..bc235bf 100644
--- a/Biz/Bild.nix
+++ b/Biz/Bild.nix
@@ -79,9 +79,9 @@ let
# exposed packages for inclusion in builds
pkgs = with stable.pkgs; {
- inherit bat bc cmark ctags deadnix fd figlet fzf git git-branchless
- gitlint guile hlint indent jq lolcat mypy nixfmt ormolu pkg-config
- ripgrep rustc tree wemux;
+ inherit bat bc cmark universal-ctags deadnix fd figlet fzf git
+ git-branchless gitlint guile hlint indent jq lolcat mypy nixfmt ormolu
+ pkg-config ripgrep rustc tree wemux;
llama-cpp = nixpkgs.nixos-unstable-small.llama-cpp;
llm = nixpkgs.nixos-unstable-small.llm.withPlugins
[ nixpkgs.nixos-unstable-small.python3.pkgs.llm-ollama ];
@@ -180,7 +180,7 @@ let
bat
bc
self.bild
- ctags
+ universal-ctags
fd
figlet
fzf
diff --git a/Biz/Ide/ftags.sh b/Biz/Ide/ftags.sh
index d55bc74..b29d994 100755
--- a/Biz/Ide/ftags.sh
+++ b/Biz/Ide/ftags.sh
@@ -12,7 +12,7 @@
--preview-window=down,border-none \
--bind="pgdn:preview-page-down" \
--bind="pgup:preview-page-up" \
- --preview "rg --pretty --context 2 --word-regexp -F {+2}"
+ --preview "rg --pretty --context 2 --fixed-strings --regexp {+2}"
)
${EDITOR:-vim} \
"$(cut -f3 <<< "$tag_search")" \