add all previous plugins and config

This commit is contained in:
Thomas Ruoff
2023-03-06 23:14:37 +01:00
parent fdfa4e4128
commit 5d3c071e8a
10 changed files with 382 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
return {
'vim-utils/vim-troll-stopper',
{'tpope/vim-abolish', lazy = false },
{'tpope/vim-unimpaired', lazy = false },
{
'rcarriga/nvim-notify',
lazy = false,
config = function()
local notify = require 'notify'
notify.setup()
vim.notify = notify
end,
},
-- rust
{ 'simrat39/rust-tools.nvim', opt = {} },
{
'saecki/crates.nvim',
requires = { 'nvim-lua/plenary.nvim' },
opt = {}
},
-- testing
{
'vim-test/vim-test',
fn = { "javascript", "typescript", "javascriptreact" },
config = function()
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" },
}
},
}