Open cverbiest opened 1 month ago
Yeah, I think we should have to install gcc.
Did you find any solution for second issue?
cloned harpoon into ~/personal but I still had issues, disabled harpoon for now by removing code from lua/theprimeagen/lazy/local.lua.
checkout out harpoon2 branch looks fine now.
If you're copying his files, his treesitter
config registers a Go HTML templating language, which you don't need unless you're trying to use that. Also, regarding harpoon, he pulls his harpoon plugin from his local files. You have to pull it from his repo. Your plugin file should look something like:
return {
"ThePrimeagen/harpoon", -- his is something like ~/personal/harpoon
branch = "harpoon2",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
local harpoon = require("harpoon")
harpoon:setup()
--[[
<set your preferred keybinds for harpoon:list():add(), select(), toggle_quick_menu(), etc.>
I recommend setting your own keybinds here. Primeagen uses dvorak layout.
--]]
end
}
After watching your great video I decided it would be easier to start with your config and modify it rather that starting from scratch.
After cloning the repo I get
I think C should be added as a prerequiste.
After installing C, using https://developers.redhat.com/articles/2023/11/10/install-gcc-and-build-hello-world-application-rhel-8#,
I get errors on harpoon so there is probably another prerequiste.