Closed delabere closed 11 months ago
You may need to refer to the https://github.com/L3MON4D3/LuaSnip document. Looks to me you might need update go_err_snippet
in lua/snips/go.lua folder and add a new choice for customWrapperFunc
Thank you I think I can take it from here! 🙇
Thank you for all the effort you've put into this plugin and the snippets specifically
I wondered if you could help me out - I'd like to just have:
also how would I go about defining my own code to wrap in the error for example
https://github.com/ray-x/go.nvim/blob/c61f9371cdaaec40cccf0783ff968bee83df5bda/lua/snips/go.lua#L124-L133