alepez / vim-gtest

Vim plugin to quickly select and run GoogleTest asyncronously.
64 stars 12 forks source link

hint: does not work with neovim #24

Closed matu3ba closed 2 years ago

matu3ba commented 2 years ago

setting up with

vim.g['my#variable'] = 'build/runTests' -- test binary location
---- gtest ----
map('n', ']t', [[<cmd>GTestNext<CR>]], opts)
map('n', '[t', [[<cmd>GTestPrev<CR>]], opts)
map('t', '<leader>tu', [[<cmd>GTestRunUnderCursor<CR>]], opts)
map('n', '<leader>tt', [[<cmd>GTestRun<CR>]], opts)

does not work as expected. For example test under cursor has no effect.

matu3ba commented 2 years ago

Looks like it is a configuration issue. My bad.

:GTestRunUnderCursor prints something, but breaks due to not finding file ./test.

alepez commented 2 years ago

Thanks for the feedback. If you feel that documentation has to be improved, PRs are welcome!