hlchunk.nvim
This commit is contained in:
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"lazy.nvim": { "branch": "main", "commit": "4496b4cad69a862199bb3ad452d3c4988bb925a1" }
|
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }
|
||||||
}
|
}
|
||||||
|
@ -2,22 +2,34 @@ local use_google = require("utils").use_google
|
|||||||
local buf_too_large = require("utils").buf_too_large
|
local buf_too_large = require("utils").buf_too_large
|
||||||
|
|
||||||
return {
|
return {
|
||||||
-- {
|
|
||||||
-- "m4xshen/hardtime.nvim",
|
|
||||||
-- dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
|
||||||
-- opts = {},
|
|
||||||
-- },
|
|
||||||
{
|
{
|
||||||
"folke/flash.nvim",
|
"shellRaining/hlchunk.nvim",
|
||||||
event = "VeryLazy",
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
opts = {},
|
opts = {
|
||||||
-- stylua: ignore
|
line_num = { enable = true },
|
||||||
keys = {
|
chunk = {
|
||||||
{ "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" },
|
enable = true,
|
||||||
{ "S", mode = { "n", "x", "o" }, function() require("flash").treesitter() end, desc = "Flash Treesitter" },
|
priority = 15,
|
||||||
{ "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash" },
|
style = {
|
||||||
{ "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search" },
|
{ fg = "#403d4c" },
|
||||||
{ "<c-s>", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" },
|
{ fg = "#c21f30" },
|
||||||
|
},
|
||||||
|
chars = {
|
||||||
|
horizontal_line = "─",
|
||||||
|
-- vertical_line = "│",
|
||||||
|
vertical_line = "┊",
|
||||||
|
left_top = "╭",
|
||||||
|
left_bottom = "╰",
|
||||||
|
right_arrow = ">",
|
||||||
|
},
|
||||||
|
use_treesitter = true,
|
||||||
|
textobject = "",
|
||||||
|
max_file_size = 1024 * 1024,
|
||||||
|
error_sign = true,
|
||||||
|
-- animation related
|
||||||
|
duration = 0,
|
||||||
|
delay = 0,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -13,9 +13,8 @@ return {
|
|||||||
end,
|
end,
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader>xt", "<cmd>:Telescope diagnostics<CR>" },
|
{ "<leader>xt", "<cmd>:Telescope diagnostics<CR>" },
|
||||||
{ "gr", ":Trouble lsp_references<CR>" },
|
{ "gr", ":Telescope lsp_references<CR>" },
|
||||||
{ "<leader>xw", ":Trouble workspace_diagnostics<CR>" },
|
{ "<leader>xd", ":Trouble<CR>" },
|
||||||
{ "<leader>xd", ":Trouble document_diagnostics<CR>" },
|
|
||||||
{ "[g", "<cmd>lua vim.diagnostic.goto_prev()<CR>" },
|
{ "[g", "<cmd>lua vim.diagnostic.goto_prev()<CR>" },
|
||||||
{ "]g", "<cmd>lua vim.diagnostic.goto_next()<CR>" },
|
{ "]g", "<cmd>lua vim.diagnostic.goto_next()<CR>" },
|
||||||
},
|
},
|
||||||
|
@ -316,7 +316,7 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
-- Here are all the options and their default values:
|
-- Here are all the options and their default values:
|
||||||
require("critique.comments").setup({
|
require("critique.comments").setup({
|
||||||
debug = 1, -- default = 0
|
-- debug = 1, -- default = 0
|
||||||
-- Fetch the comments after calling `setup`.
|
-- Fetch the comments after calling `setup`.
|
||||||
auto_fetch = true, -- default = true
|
auto_fetch = true, -- default = true
|
||||||
auto_render = true, -- default = true
|
auto_render = true, -- default = true
|
||||||
|
@ -1,21 +1,21 @@
|
|||||||
return {
|
return {
|
||||||
{
|
-- {
|
||||||
"rcarriga/nvim-notify",
|
-- "rcarriga/nvim-notify",
|
||||||
event = "VimEnter",
|
-- event = "VimEnter",
|
||||||
cond = true,
|
-- cond = true,
|
||||||
lazy = true,
|
-- lazy = true,
|
||||||
config = function()
|
-- config = function()
|
||||||
-- local colors = require("catppuccin.palettes").get_palette()
|
-- -- local colors = require("catppuccin.palettes").get_palette()
|
||||||
require("notify").setup({
|
-- require("notify").setup({
|
||||||
-- background_colour = colors.base,
|
-- -- background_colour = colors.base,
|
||||||
fps = 20, -- default 30
|
-- fps = 20, -- default 30
|
||||||
-- stages = "slide", -- default fade_in_slide_out
|
-- stages = "slide", -- default fade_in_slide_out
|
||||||
timeout = 5000, -- default 5000
|
-- timeout = 5000, -- default 5000
|
||||||
render = "wrapped-compact",
|
-- render = "wrapped-compact",
|
||||||
})
|
-- })
|
||||||
vim.notify = require("notify")
|
-- vim.notify = require("notify")
|
||||||
end,
|
-- end,
|
||||||
},
|
-- },
|
||||||
{
|
{
|
||||||
"j-hui/fidget.nvim",
|
"j-hui/fidget.nvim",
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
@ -32,18 +32,18 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
-- {
|
{
|
||||||
-- "echasnovski/mini.notify",
|
"echasnovski/mini.notify",
|
||||||
-- version = false,
|
version = false,
|
||||||
-- dependencies = {
|
dependencies = {
|
||||||
-- "rcarriga/nvim-notify",
|
"rcarriga/nvim-notify",
|
||||||
-- "j-hui/fidget.nvim",
|
"j-hui/fidget.nvim",
|
||||||
-- },
|
},
|
||||||
-- config = function()
|
config = function()
|
||||||
-- vim.notify = function(msg, level, opts)
|
vim.notify = function(msg, level, opts)
|
||||||
-- require("fidget").notify(msg, level, opts)
|
require("fidget").notify(msg, level, opts)
|
||||||
-- require("mini.notify").make_notify()(msg, level, opts)
|
require("mini.notify").make_notify()(msg, level, opts)
|
||||||
-- end
|
end
|
||||||
-- end,
|
end,
|
||||||
-- },
|
},
|
||||||
}
|
}
|
||||||
|
@ -31,10 +31,10 @@ return {
|
|||||||
-- },
|
-- },
|
||||||
--
|
--
|
||||||
-- WASM
|
-- WASM
|
||||||
{ pattern = "(W)ASM", hl = "LightRed", filter = {} },
|
-- { pattern = "(W)ASM", hl = "LightRed", filter = {} },
|
||||||
{ pattern = "W(A)SM", hl = "LightBlue", filter = {} },
|
-- { pattern = "W(A)SM", hl = "LightBlue", filter = {} },
|
||||||
{ pattern = "WA(S)M", hl = "LightGreen", filter = {} },
|
-- { pattern = "WA(S)M", hl = "LightGreen", filter = {} },
|
||||||
{ pattern = "WAS(M)", hl = "LightYellow", filter = {} },
|
-- { pattern = "WAS(M)", hl = "LightYellow", filter = {} },
|
||||||
|
|
||||||
-- Google
|
-- Google
|
||||||
-- { pattern = "Google", hl = "LightBlue", filter = {} },
|
-- { pattern = "Google", hl = "LightBlue", filter = {} },
|
||||||
@ -46,7 +46,7 @@ return {
|
|||||||
-- { pattern = "Googl(e)", hl = "LightRed", filter = {} },
|
-- { pattern = "Googl(e)", hl = "LightRed", filter = {} },
|
||||||
|
|
||||||
-- cnieves
|
-- cnieves
|
||||||
{ pattern = "cnieves", hl = "LightPurple", filter = {} },
|
-- { pattern = "cnieves", hl = "LightPurple", filter = {} },
|
||||||
{ pattern = "Christian Nieves", hl = "LightPurple", filter = {} },
|
{ pattern = "Christian Nieves", hl = "LightPurple", filter = {} },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user