mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
fix(neovim): Snacks: enable gitea URLs & chores
- gitbrowse: Add pattern for Gitea URL - scratch: Change the path of scratch files - scratch: Modal size increased - chore: explicitly add disabled modules - chore: settings on single line when possible - new: quickfile, picker - zen: dim - fix: word -> words
This commit is contained in:
@@ -6,35 +6,31 @@ return {
|
|||||||
lazy = false,
|
lazy = false,
|
||||||
cond = require("config.util").is_not_vscode(),
|
cond = require("config.util").is_not_vscode(),
|
||||||
opts = {
|
opts = {
|
||||||
-- Want these but after they are fixed
|
bigfile = { enabled = false },
|
||||||
indent = {
|
dashboard = { enabled = false },
|
||||||
-- NOTE: highlights for blanklines are too noisy
|
explorer = { enabled = false },
|
||||||
-- mini.indentscope does it much better
|
indent = { enabled = false },
|
||||||
enabled = false,
|
scope = { enabled = false },
|
||||||
},
|
layout = { enabled = false },
|
||||||
scope = {
|
statuscolumn = { enabled = false },
|
||||||
-- NOTE: mini.indentscope does this and indent guide as well
|
terminal = { enabled = false },
|
||||||
enabled = false,
|
win = { enabled = false },
|
||||||
},
|
|
||||||
statuscolumn = {
|
|
||||||
-- NOTE: just did not work
|
|
||||||
enabled = false,
|
|
||||||
},
|
|
||||||
|
|
||||||
bigfile = {
|
bufdelete = { enabled = true },
|
||||||
enabled = true,
|
git = { enabled = true },
|
||||||
notify = true,
|
|
||||||
size = 10 * 1024 * 1024, -- 10 MB
|
|
||||||
},
|
|
||||||
bufdelete = {
|
|
||||||
enabled = true,
|
|
||||||
},
|
|
||||||
gitbrowse = {
|
gitbrowse = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
notify = true,
|
||||||
|
url_patterns = {
|
||||||
|
["git%.pratik%.live"] = {
|
||||||
|
branch = "/src/branch/{branch}",
|
||||||
|
file = "/src/branch/{branch}/{file}#L{line_start}-L{line_end}",
|
||||||
|
permalink = "/src/commit/{commit}/{file}#L{line_start}-L{line_end}",
|
||||||
|
commit = "/commit/{commit}",
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
input = {
|
input = { enabled = true },
|
||||||
enabled = true,
|
|
||||||
},
|
|
||||||
image = {
|
image = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
doc = {
|
doc = {
|
||||||
@@ -43,42 +39,29 @@ return {
|
|||||||
},
|
},
|
||||||
img_dirs = { "img", "images", "assets", "static", "public", "media", "attachments", ".artifacts/img", ".artifacts", ".assets" },
|
img_dirs = { "img", "images", "assets", "static", "public", "media", "attachments", ".artifacts/img", ".artifacts", ".assets" },
|
||||||
},
|
},
|
||||||
lazygit = {
|
lazygit = { enabled = true, configure = true, win = { style = "lazygit" } },
|
||||||
enabled = true,
|
|
||||||
configure = true,
|
|
||||||
win = { style = "lazygit" },
|
|
||||||
},
|
|
||||||
notifier = {
|
notifier = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
timeout = 2000,
|
timeout = 2000,
|
||||||
style = "fancy",
|
style = "fancy",
|
||||||
},
|
},
|
||||||
scroll = {
|
picker = { enabled = true },
|
||||||
enabled = false,
|
quickfile = { enabled = true },
|
||||||
},
|
|
||||||
scratch = {
|
scratch = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
ft = "markdown",
|
||||||
|
root = "~/Code/journal/scratch",
|
||||||
},
|
},
|
||||||
word = {
|
words = { enabled = true },
|
||||||
enabled = true,
|
zen = { enabled = true, toggles = { dim = true } },
|
||||||
},
|
|
||||||
zen = {
|
|
||||||
enabled = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
animate = {
|
animate = {
|
||||||
fps = 60,
|
fps = 90,
|
||||||
duration = {
|
duration = { step = 10, total = 200 },
|
||||||
step = 10,
|
|
||||||
total = 200,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
styles = {
|
styles = {
|
||||||
notification = {
|
notification = { wo = { wrap = true } },
|
||||||
wo = {
|
scratch = { width = 120, height = 35 },
|
||||||
wrap = true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
|
|||||||
Reference in New Issue
Block a user