mirror of
https://github.com/tomru/vim.git
synced 2026-03-03 14:37:20 +01:00
add all previous plugins and config
This commit is contained in:
39
lua/custom/plugins/utils.lua
Normal file
39
lua/custom/plugins/utils.lua
Normal 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" },
|
||||
}
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user