jcdampil23

Results 3 comments of jcdampil23

https://github.com/ThePrimeagen/harpoon/issues/523#issuecomment-1984926994 Here is a way to truncate the directory path

Okay I got something working here which gets the bases on the width of the plenary window then you could truncate each folder to how many lines you like or...

Yeah figured out another way so this should be a bit better ![image](https://github.com/ThePrimeagen/harpoon/assets/66290666/ac7feb75-03b0-47fb-95bd-3fcb86aa4f8b) ``` local harpoon = require("harpoon") local Path = require("plenary.path") local function normalize_path(buf_name, root) return Path:new(buf_name):make_relative(root) end harpoon:setup({...