refactor(nvim): move plugin config to the
... `after/plugin` directory
This commit is contained in:
parent
8cf3fed368
commit
7d3b82884c
13 changed files with 4 additions and 14 deletions
13
roles/neovim/files/after/plugin/vim-test.lua
Normal file
13
roles/neovim/files/after/plugin/vim-test.lua
Normal file
|
@ -0,0 +1,13 @@
|
|||
local map = vim.api.nvim_set_keymap
|
||||
|
||||
local options = {
|
||||
silent = true,
|
||||
}
|
||||
|
||||
map("n", "t<C-f>", ":TestFile<CR>", options)
|
||||
map("n", "t<C-g>", ":TestVisit<CR>", options)
|
||||
map("n", "t<C-l>", ":TestLast<CR>", options)
|
||||
map("n", "t<C-n>", ":TestNearest<CR>", options)
|
||||
map("n", "t<C-s>", ":TestSuite<CR>", options)
|
||||
|
||||
vim.g["test#strategy"] = "neovim"
|
Loading…
Add table
Add a link
Reference in a new issue