From: Lukas Hägele Date: Sun, 4 Oct 2026 13:51:21 +0000 (+0200) Subject: use "uctags" on freebsd instead of "ctags" like on linux X-Git-Url: https://git.lhaegele.de/?a=commitdiff_plain;h=66bfaa6d65731de098ee326a5e26d8daebbca040;p=dotfiles_nvim.git use "uctags" on freebsd instead of "ctags" like on linux --- diff --git a/lua/snippets/ctags.lua b/lua/snippets/ctags.lua index a8b08c8..360cfae 100644 --- a/lua/snippets/ctags.lua +++ b/lua/snippets/ctags.lua @@ -1,7 +1,12 @@ local M = {} M.run = function(opts) - vim.fn.jobstart("find src -type f | xargs ctags", { + local ctags = "ctags" + if jit.os == "BSD" then + ctags = "uctags" + end + + vim.fn.jobstart("find src -type f | xargs " ..ctags, { detach = true, }) end