nvim tweaks

This commit is contained in:
Henrik Bakken
2025-04-24 12:26:52 +02:00
parent 9ecbb465bf
commit f153966f6d
+3 -3
View File
@@ -1287,7 +1287,7 @@ local function makespec_flash()
}, },
}, },
label = { uppercase = false }, label = { uppercase = false },
jump = { autojump = true }, jump = { autojump = false },
modes = { modes = {
search = { enabled = true }, search = { enabled = true },
char = { char = {
@@ -1469,7 +1469,7 @@ local function makespec_conform()
bash = { "shfmt" }, bash = { "shfmt" },
typescript = { "eslint_d" }, typescript = { "eslint_d" },
typst = { "typstyle" }, typst = { "typstyle" },
yaml = { "yamlfix", "yamlfmt" }, yaml = { "yamlfmt" },
}, },
default_format_opts = { default_format_opts = {
timeout_ms = 3000, timeout_ms = 3000,
@@ -1480,7 +1480,7 @@ local function makespec_conform()
stylua = { append_args = { "--indent-type", "Spaces", "--collapse-simple-statement", "Always" } }, stylua = { append_args = { "--indent-type", "Spaces", "--collapse-simple-statement", "Always" } },
ruff_fix = { append_args = { "--select", "I,F,UP" } }, ruff_fix = { append_args = { "--select", "I,F,UP" } },
yamlfmt = { yamlfmt = {
append_args = { prepend_args = {
"-formatter", "-formatter",
"indentless_arrays=true,retain_line_breaks=true,line_ending=lf,max_line_length=100,pad_line_comments=2", "indentless_arrays=true,retain_line_breaks=true,line_ending=lf,max_line_length=100,pad_line_comments=2",
}, },