Araucaria is a Neovim plugin to navigate through RSpec files.
Use your favorite plugin manager to install Araucaria
. For example, with Lazy.vim:
'rufex/araucaria.nvim',
dependencies = {
'nvim-treesitter/nvim-treesitter',
'nvim-telescope/telescope.nvim',
'nvim-lua/plenary.nvim'
},
Araucaria provides two commands:
:AraucariaBuff
- Opens a Telescope picker to show all RSpec tests for the provided buffer or current buffer if not specified.:AraucariaAll
- Opens a Telescope picker to show all RSpec files in the project.:Araucaria
- Combines the functionality of:AraucariaBuff
and:AraucariaAll
into one:- If the current buffer is an RSpec file, it behaves like
:AraucariaBuff
, opening the picker with all RSpec tests for the current buffer. - If the current buffer is not an RSpec file, it behaves like
:AraucariaAll
show all RSpec files, and after selecting one of them, it opens that file's RSpec tests asArucariaBuff
.
- If the current buffer is an RSpec file, it behaves like
- FZF ?