style(nvim): format with stylua
This commit is contained in:
parent
c781daed86
commit
cc780dc277
@ -5,4 +5,3 @@ vim.opt_local.textwidth = 0
|
||||
vim.keymap.set("n", "<leader>fr", "<cmd>MarkdownPreview<CR>", {
|
||||
buffer = true,
|
||||
})
|
||||
|
||||
|
@ -29,8 +29,7 @@ return {
|
||||
{
|
||||
keys = {
|
||||
{ "<leader>gd", "<cmd>DiffviewOpen<CR>", desc = "Diff View: Open" },
|
||||
{"<leader>gh", "<cmd>DiffviewFileHistory<CR>", desc = "Diff View: File History" }
|
||||
|
||||
{ "<leader>gh", "<cmd>DiffviewFileHistory<CR>", desc = "Diff View: File History" },
|
||||
},
|
||||
"sindrets/diffview.nvim",
|
||||
cmd = {
|
||||
@ -40,7 +39,7 @@ return {
|
||||
"DiffviewRefresh",
|
||||
"DiffviewClose",
|
||||
"DiffviewOpen",
|
||||
"DiffviewLog"
|
||||
"DiffviewLog",
|
||||
},
|
||||
opts = {
|
||||
enhanced_diff_hl = true,
|
||||
|
@ -2,7 +2,14 @@ return {
|
||||
{
|
||||
"phaazon/hop.nvim",
|
||||
keys = {
|
||||
{"f", function() require("hop").hint_char1({ current_line_only = false, }) end, desc = "Hop: Character", mode = { "" } },
|
||||
{
|
||||
"f",
|
||||
function()
|
||||
require("hop").hint_char1({ current_line_only = false })
|
||||
end,
|
||||
desc = "Hop: Character",
|
||||
mode = { "" },
|
||||
},
|
||||
{ ";l", "<cmd>HopLineStart<CR>", desc = "Hop: Line Start" },
|
||||
{ ";s", "<cmd>HopPattern<CR>", desc = "Hop: Pattern" },
|
||||
{ ";;", "<cmd>HopWord<CR>", desc = "Hop: Word" },
|
||||
|
@ -3,7 +3,7 @@ return {
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter"
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
opts = function()
|
||||
local g = vim.g
|
||||
|
@ -1,6 +1,6 @@
|
||||
return {
|
||||
{
|
||||
"jghauser/mkdir.nvim",
|
||||
event = "BufWritePre"
|
||||
event = "BufWritePre",
|
||||
},
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ return {
|
||||
"<A-j>",
|
||||
"<A-j>",
|
||||
"<A-h>",
|
||||
"<A-l>"
|
||||
}
|
||||
"<A-l>",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ return {
|
||||
vim.g.neoformat_python_black = {
|
||||
exe = "black",
|
||||
stdin = 1,
|
||||
args = { "-q", "-" }
|
||||
args = { "-q", "-" },
|
||||
}
|
||||
vim.g.neoformat_enabled_python = { "black" }
|
||||
end,
|
||||
|
@ -27,8 +27,8 @@ return {
|
||||
},
|
||||
},
|
||||
popupmenu = {
|
||||
backend = "cmp"
|
||||
}
|
||||
backend = "cmp",
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
|
||||
@ -41,7 +41,7 @@ return {
|
||||
function()
|
||||
require("notify").dismiss({
|
||||
pending = true,
|
||||
silent = true
|
||||
silent = true,
|
||||
})
|
||||
end,
|
||||
desc = "Notifications: Dismiss",
|
||||
|
Loading…
Reference in New Issue
Block a user