Move Nix files into a nix directory
Move everything from `config` to the root level.
This commit is contained in:
parent
9f47df62b5
commit
69a397e624
124 changed files with 14 additions and 14 deletions
23
nvim/plugin/vim-test.lua
Normal file
23
nvim/plugin/vim-test.lua
Normal file
|
@ -0,0 +1,23 @@
|
|||
local map = vim.api.nvim_set_keymap
|
||||
|
||||
local options = {
|
||||
silent = true,
|
||||
}
|
||||
|
||||
map("n", "<leader>tf", ":TestFile<CR>", options)
|
||||
map("n", "<leader>tg", ":TestVisit<CR>", options)
|
||||
map("n", "<leader>tl", ":TestLast<CR>", options)
|
||||
map("n", "<leader>tn", ":TestNearest<CR>", options)
|
||||
map("n", "<leader>ts", ":TestSuite<CR>", options)
|
||||
|
||||
vim.cmd [[
|
||||
let test#echo_command = 0
|
||||
let test#strategy = "neovim_sticky"
|
||||
|
||||
let g:test#neovim_sticky#kill_previous = 1
|
||||
let g:test#neovim_sticky#reopen_window = 1
|
||||
let g:test#preserve_screen = 0
|
||||
|
||||
let test#php#phpunit#executable = './run test'
|
||||
let test#php#phpunit#options = '--colors=always --testdox'
|
||||
]]
|
Loading…
Add table
Add a link
Reference in a new issue