Anybody has any spicy neovim configs to share for golang development.

I’m just missing GoFmt and GoImports to run on save.

Thanks!

  • Michohl@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    My neovim is more tailored for Go development.

    https://github.com/michohl/dotfiles/tree/main/.config/nvim

    The important bits are I use lsp-zero for my LSP (probably going to switch to native lsp because this causes segfaults for me sporadically) and I use nvim-dap to get a proper debugger experience.

    I used to consider vs code a must for real dev work but this config has everything I considered important feature wise.

    The only “home brewed” part is I wrote a lua plugin to look for a any env file specifications in .vscode/launch.json and load that file so the variables are available to the debugger which can also leverage these vs code files.