go.nvim/playground
2023-03-12 11:57:53 +11:00
..
sampleApp startup delay because the BufEnter autocommands 2022-07-31 11:29:38 +10:00
init_lazy.lua Use lazy.nvim as default playground vimrc plugin mgr 2023-03-12 11:57:53 +11:00
init_packer.lua Use lazy.nvim as default playground vimrc plugin mgr 2023-03-12 11:57:53 +11:00
README.md Update README 2023-03-11 04:40:22 +11:00

A sample go project with minium config for go.nvim

Start with (may need to restart nvim after the first time)

cd sampleApp
nvim -u ../init.lua main.go

To start debugging, run the following commands

:10
:GoBreakToggle
:GoDebug

To unit test, run the following commands

:pkg/findAllSubStr_test.go
:10
:GoTestFunc