Merge branch 'master' of https://gitea.brudi.xyz/kenobi/dotfiles
This commit is contained in:
@ -7,3 +7,4 @@ local opt = vim.opt
|
||||
opt.scrolloff = 999
|
||||
vim.diagnostic.config({ virtual_text = false })
|
||||
opt.title = true
|
||||
opt.conceallevel = 0
|
||||
|
@ -1,6 +1,7 @@
|
||||
return {
|
||||
"nvim-lspconfig",
|
||||
opts = {
|
||||
inlay_hints = { enabled = true },
|
||||
diagnostics = {
|
||||
virtual_text = false,
|
||||
},
|
||||
|
10
nvim/lua/plugins/illuminate.lua
Normal file
10
nvim/lua/plugins/illuminate.lua
Normal file
@ -0,0 +1,10 @@
|
||||
return {
|
||||
"RRethy/vim-illuminate",
|
||||
opts = {
|
||||
delay = 200,
|
||||
large_file_cutoff = 5000,
|
||||
large_file_overrides = {
|
||||
providers = { "lsp" },
|
||||
},
|
||||
},
|
||||
}
|
26
nvim/lua/plugins/neotest-adapters.lua
Normal file
26
nvim/lua/plugins/neotest-adapters.lua
Normal file
@ -0,0 +1,26 @@
|
||||
return {
|
||||
{ "nvim-neotest/neotest-jest" },
|
||||
{
|
||||
"nvim-neotest/neotest",
|
||||
opts = function(_, opts)
|
||||
table.insert(
|
||||
opts.adapters,
|
||||
require("neotest-jest")({
|
||||
jestCommand = "npm test --",
|
||||
jestConfig = "jest.config.js",
|
||||
env = { CI = true },
|
||||
cwd = function()
|
||||
return vim.fn.getcwd()
|
||||
end,
|
||||
})
|
||||
)
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
"<leader>tw",
|
||||
"<cmd>lua require('neotest').run.run({ jestCommand = 'jest --watch ' })<cr>",
|
||||
desc = "Jest Watch",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
14
nvim/lua/plugins/surround.lua
Normal file
14
nvim/lua/plugins/surround.lua
Normal file
@ -0,0 +1,14 @@
|
||||
return {
|
||||
"echasnovski/mini.surround",
|
||||
opts = {
|
||||
mappings = {
|
||||
add = "gsa", -- Add surrounding in Normal and Visual modes
|
||||
delete = "gsd", -- Delete surrounding
|
||||
find = "gsf", -- Find surrounding (to the right)
|
||||
find_left = "gsF", -- Find surrounding (to the left)
|
||||
highlight = "gsh", -- Highlight surrounding
|
||||
replace = "gsr", -- Replace surrounding
|
||||
update_n_lines = "gsn", -- Update `n_lines`
|
||||
},
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user