doc updates

pull/93/head
ray-x 2 years ago
parent c9359bb14d
commit c622c27bf8

@ -149,6 +149,8 @@ func Foo() (io.Reader, error) { // the cursor on this line to add if err stateme
Supported by treesitter. TS provided better parse result compared to regular expression.
See the example [treesitter config file](https://github.com/ray-x/go.nvim#text-object) on how to setup
textobjects. Also with treesitter-objects, you can move, swap the selected blocks of codes, which is fast and accurate.
`go.nvim` will load textobject with treesiteter, with default keybindings, if you what to set it up yourself, you can
set `textobject` to false.
## Go binaries install and update

@ -46,7 +46,7 @@ _GO_NVIM_CFG = {
dap_vt = true, -- false, true and 'all frames'
dap_port = 38697, -- can be set to a number or `-1` so go.nvim will pickup a random port
build_tags = "", --- you can provide extra build tags for tests or debugger
textobjects = true,
textobjects = true, -- treesitter binding for text objects
test_runner = "go", -- richgo, go test, richgo, dlv, ginkgo
run_in_floaterm = false, -- set to true to run in float window.
launch_json = vim.fn.getcwd() .. "/.vscode/launch.json",

Loading…
Cancel
Save