DEV Community

Discussion on: How I wrote my first Neovim plugin

Collapse
ishigoya profile image
Rob • Edited on

Hi, this was a handy guide for getting me started writing a neovim plugin, but in the example I copied below, the missing _ in __init__ slowed me down a bit! Could you amend it for future users please?

@pynvim.plugin
class TestPlugin(object):
    def _init__(self, nvim):
        self.nvim = nvim
Enter fullscreen mode Exit fullscreen mode