CRAG666 / code_runner.nvim

Neovim plugin.The best code runner you could have, it is like the one in vscode but with super powers, it manages projects like in intellij but without being slow
MIT License
534 stars 38 forks source link

how to run golang program #98

Closed mikewang68 closed 3 months ago

mikewang68 commented 9 months ago

default filetype no golang , how to run golang program ? thanks

pengshp commented 7 months ago
{
    "CRAG666/code_runner.nvim",
    opts = {
      mode = "toggleterm",
      filetype = {
        go = "go run",
      },
    },
}

You can use the snippet in your configuration of lazy.nvim.