AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Is There a Way to Do This in Niovin?
In neovim, l s p is like an inner face to your editor. You can replace a function with a basically set of parimeters an expected thing to happen and replace it with some new behavior that's more suited to your purpose. In golang, we have a bunch of stub or test implementations for some inter faces that we have at i don't want to jump to those when i hit go to implementation 99 % of the time. So what i did was, i can ask the l s p, hey, where are the implementations of this? I wrote some lua code that walks through the results and says, if this file ends with underscore test or like underscore mock,