feat: add keys config
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
"github-theme": { "branch": "main", "commit": "c106c9472154d6b2c74b74565616b877ae8ed31d" },
|
"github-theme": { "branch": "main", "commit": "c106c9472154d6b2c74b74565616b877ae8ed31d" },
|
||||||
"hererocks": { "branch": "master", "commit": "160228946bed9998f5e3b168bd0b66ba2690f8f3" },
|
"hererocks": { "branch": "master", "commit": "160228946bed9998f5e3b168bd0b66ba2690f8f3" },
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
||||||
|
"keys.nvim": { "branch": "main", "commit": "572490e8efac66a6008e016dbe82ad49ebfb3250" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "1ea3c4085785f460fb0e46d2fe1ee895f5f9e7c1" },
|
"lazy.nvim": { "branch": "main", "commit": "1ea3c4085785f460fb0e46d2fe1ee895f5f9e7c1" },
|
||||||
"lazygit.nvim": { "branch": "main", "commit": "2305deed25bc61b866d5d39189e9105a45cf1cfb" },
|
"lazygit.nvim": { "branch": "main", "commit": "2305deed25bc61b866d5d39189e9105a45cf1cfb" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" },
|
"lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" },
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
return {
|
||||||
|
"tamton-aquib/keys.nvim",
|
||||||
|
config = function()
|
||||||
|
require("keys").setup({
|
||||||
|
enable_on_startup = true,
|
||||||
|
win_opts = {
|
||||||
|
width = 25,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
+16
-10
@@ -8,20 +8,25 @@ return {
|
|||||||
{ "stevanfreeborn/neotest-playwright", branch = "fork" },
|
{ "stevanfreeborn/neotest-playwright", branch = "fork" },
|
||||||
"issafalcon/neotest-dotnet",
|
"issafalcon/neotest-dotnet",
|
||||||
{ "stevanfreeborn/neotest-go" },
|
{ "stevanfreeborn/neotest-go" },
|
||||||
|
-- {
|
||||||
|
-- "mrcjkb/rustaceanvim",
|
||||||
|
-- version = "^6",
|
||||||
|
-- lazy = false,
|
||||||
|
-- },
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
local neotest = require("neotest")
|
local neotest = require("neotest")
|
||||||
|
|
||||||
-- local neotest_ns = vim.api.nvim_create_namespace("neotest")
|
local neotest_ns = vim.api.nvim_create_namespace("neotest")
|
||||||
--
|
|
||||||
-- vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
-- virtual_text = {
|
virtual_text = {
|
||||||
-- format = function(diagnostic)
|
format = function(diagnostic)
|
||||||
-- local message = diagnostic.message:gsub("\n", " "):gsub("\t", " "):gsub("%s+", " "):gsub("^%s+", "")
|
local message = diagnostic.message:gsub("\n", " "):gsub("\t", " "):gsub("%s+", " "):gsub("^%s+", "")
|
||||||
-- return message
|
return message
|
||||||
-- end,
|
end,
|
||||||
-- },
|
},
|
||||||
-- }, neotest_ns)
|
}, neotest_ns)
|
||||||
|
|
||||||
neotest.setup({
|
neotest.setup({
|
||||||
log_level = vim.log.levels.DEBUG,
|
log_level = vim.log.levels.DEBUG,
|
||||||
@@ -54,6 +59,7 @@ return {
|
|||||||
discovery_root = "solution",
|
discovery_root = "solution",
|
||||||
}),
|
}),
|
||||||
require("neotest-go"),
|
require("neotest-go"),
|
||||||
|
-- require('rustaceanvim.neotest'),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user