mirror of
https://github.com/tomru/vim.git
synced 2026-03-03 06:27:18 +01:00
format all
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
return {
|
||||
'vim-utils/vim-troll-stopper',
|
||||
{'tpope/vim-abolish', lazy = false },
|
||||
{'tpope/vim-unimpaired', lazy = false },
|
||||
{ 'tpope/vim-abolish', lazy = false },
|
||||
{ 'tpope/vim-unimpaired', lazy = false },
|
||||
{
|
||||
'rcarriga/nvim-notify',
|
||||
lazy = false,
|
||||
@@ -17,23 +17,23 @@ return {
|
||||
{
|
||||
'saecki/crates.nvim',
|
||||
requires = { 'nvim-lua/plenary.nvim' },
|
||||
opt = {}
|
||||
opt = {},
|
||||
},
|
||||
|
||||
-- testing
|
||||
{
|
||||
'vim-test/vim-test',
|
||||
fn = { "javascript", "typescript", "javascriptreact" },
|
||||
fn = { 'javascript', 'typescript', 'javascriptreact' },
|
||||
config = function()
|
||||
vim.cmd([[
|
||||
vim.cmd [[
|
||||
let test#strategy = 'neovim'
|
||||
let test#javascript#jest#file_pattern = '\v(__tests__/.*|(spec|tests?))\.(js|jsx|coffee|ts|tsx)$'
|
||||
]])
|
||||
]]
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>tn", "<cmd>TestNearest<cr>", desc = "[T]est [N]earest" },
|
||||
{ "<leader>tf", "<cmd>TestFile<cr>", desc = "[T]est [F]ile" },
|
||||
{ "<leader>tt", "<cmd>TestLast<cr>", desc = "[T]est Last" },
|
||||
}
|
||||
{ '<leader>tn', '<cmd>TestNearest<cr>', desc = '[T]est [N]earest' },
|
||||
{ '<leader>tf', '<cmd>TestFile<cr>', desc = '[T]est [F]ile' },
|
||||
{ '<leader>tt', '<cmd>TestLast<cr>', desc = '[T]est Last' },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user