style(nvim): format with stylua
This commit is contained in:
parent
b332395536
commit
5cfecf809f
@ -5,20 +5,20 @@ vim.keymap.set("n", "<leader>fr", "<Cmd>Hurl<CR>", {
|
||||
vim.opt_local.commentstring = "# %s"
|
||||
|
||||
vim.keymap.set("n", "<leader>fr", "<cmd>HurlRunner<CR>", {
|
||||
desc = "Hurl: Runner"
|
||||
desc = "Hurl: Runner",
|
||||
})
|
||||
vim.keymap.set("n", "<leader>fa", "<cmd>HurlRunnerAt<CR>", {
|
||||
desc = "Hurl: Run Api request"
|
||||
desc = "Hurl: Run Api request",
|
||||
})
|
||||
vim.keymap.set("n", "<leader>fe", "<cmd>HurlRunnerToEntry<CR>", {
|
||||
desc = "Hurl: Run Api request to entry"
|
||||
desc = "Hurl: Run Api request to entry",
|
||||
})
|
||||
vim.keymap.set("n", "<leader>fm", "<cmd>HurlToggleMode<CR>", {
|
||||
desc = "Hurl: Toggle Mode"
|
||||
desc = "Hurl: Toggle Mode",
|
||||
})
|
||||
vim.keymap.set("n", "<leader>rv", "<cmd>HurlVerbose<CR>", {
|
||||
desc = "Hurl: Run Api in verbose mode"
|
||||
desc = "Hurl: Run Api in verbose mode",
|
||||
})
|
||||
vim.keymap.set("v", "<leader>fr", ":HurlRunner<CR>", {
|
||||
desc = "Hurl: Runner"
|
||||
desc = "Hurl: Runner",
|
||||
})
|
||||
|
@ -8,8 +8,4 @@ vim.api.nvim_set_hl(
|
||||
{ underline = true, bold = true }
|
||||
)
|
||||
)
|
||||
vim.api.nvim_set_hl(
|
||||
0,
|
||||
"@text.emph.typst",
|
||||
{ link = "@text.emphasis" }
|
||||
)
|
||||
vim.api.nvim_set_hl(0, "@text.emph.typst", { link = "@text.emphasis" })
|
||||
|
@ -119,8 +119,8 @@ return {
|
||||
local standard_sources = function(sources)
|
||||
sources = sources or {}
|
||||
local default_sources = {
|
||||
{ name = "nvim_lsp", },
|
||||
{ name = "luasnip", }, -- For luasnip users.
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "luasnip" }, -- For luasnip users.
|
||||
{
|
||||
name = "fuzzy_buffer",
|
||||
},
|
||||
@ -140,7 +140,7 @@ return {
|
||||
option = { cache = true },
|
||||
trigger_characters = { "\\" },
|
||||
},
|
||||
{ name = "zsh", },
|
||||
{ name = "zsh" },
|
||||
{ name = "emoji", keyword_length = 2 },
|
||||
{ name = "calc" },
|
||||
{ name = "npm", keyword_length = 2 },
|
||||
@ -172,7 +172,7 @@ return {
|
||||
git = { symbol = " ", name = "Git", hl_group = "Git" },
|
||||
docker_compose_language_service = { symbol = " ", name = "Docker", hl_group = "Docker" },
|
||||
luasnip = { symbol = " ", name = "Snippet" },
|
||||
["lua-latex-symbols"] = { symbol = " ", name = "Math", hl_group = "LuaLatexSymbol" }
|
||||
["lua-latex-symbols"] = { symbol = " ", name = "Math", hl_group = "LuaLatexSymbol" },
|
||||
}
|
||||
|
||||
local extra_kind_icons = {
|
||||
|
@ -53,9 +53,9 @@ return {
|
||||
typst = function()
|
||||
return {
|
||||
exe = "typstfmt",
|
||||
stdin = true
|
||||
stdin = true,
|
||||
}
|
||||
end
|
||||
end,
|
||||
},
|
||||
}
|
||||
end,
|
||||
|
@ -1067,7 +1067,7 @@ return {
|
||||
return ft:lower():find(excluded_ft) ~= nil
|
||||
end, {
|
||||
".*neogit.*",
|
||||
"no-neck-pain"
|
||||
"no-neck-pain",
|
||||
})
|
||||
if #matches > 0 then
|
||||
return false
|
||||
|
@ -7,13 +7,13 @@ return {
|
||||
debug = false,
|
||||
mode = "split",
|
||||
formatters = {
|
||||
json = { 'jq' },
|
||||
json = { "jq" },
|
||||
html = {
|
||||
'prettier',
|
||||
'--parser',
|
||||
'html',
|
||||
"prettier",
|
||||
"--parser",
|
||||
"html",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
@ -61,7 +61,6 @@ return {
|
||||
["@diff.plus"] = { link = "@text.diff.add" },
|
||||
["@diff.minus"] = { link = "@text.diff.delete" },
|
||||
|
||||
|
||||
["@field"] = { fg = colors.carpYellow },
|
||||
CursorLineNr = { fg = colors.roninYellow, bg = palette.theme.ui.bg_p1 },
|
||||
CursorLineFold = { fg = colors.crystalBlue, bg = palette.theme.ui.bg_p1 },
|
||||
@ -247,7 +246,6 @@ return {
|
||||
-- Markdown specific
|
||||
["@markdown_check_undone"] = { fg = colors.carpYellow },
|
||||
["@markdown_check_ndone"] = { fg = colors.springGreen },
|
||||
|
||||
}
|
||||
|
||||
return overrides
|
||||
|
@ -290,7 +290,7 @@ return {
|
||||
yaml = {
|
||||
schemaStore = {
|
||||
enable = false,
|
||||
url = ""
|
||||
url = "",
|
||||
},
|
||||
schemas = require("schemastore").yaml.schemas({
|
||||
validate = { enable = true },
|
||||
@ -299,9 +299,9 @@ return {
|
||||
description = "Gitea Actions",
|
||||
fileMatch = ".gitea/workflows/*",
|
||||
name = "gitea-workflow.json",
|
||||
url = "https://json.schemastore.org/github-workflow.json"
|
||||
}
|
||||
}
|
||||
url = "https://json.schemastore.org/github-workflow.json",
|
||||
},
|
||||
},
|
||||
}),
|
||||
},
|
||||
},
|
||||
|
@ -21,6 +21,7 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
dir = "~/Git/Neovim/Orgmode",
|
||||
ft = { "org" },
|
||||
keys = {
|
||||
{ "<leader>o", desc = "> Org" },
|
||||
|
Loading…
Reference in New Issue
Block a user