style(nvim): format with stylua
This commit is contained in:
parent
27e4a081ae
commit
d41b455a14
@ -197,8 +197,8 @@ cmp.setup.cmdline(":", {
|
|||||||
{
|
{
|
||||||
name = "cmdline",
|
name = "cmdline",
|
||||||
option = {
|
option = {
|
||||||
ignore_cmds = {'!'}
|
ignore_cmds = { "!" },
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{ name = "cmdline_history" },
|
{ name = "cmdline_history" },
|
||||||
}),
|
}),
|
||||||
|
@ -230,8 +230,18 @@ wk.register({
|
|||||||
},
|
},
|
||||||
}, { prefix = "<leader>" })
|
}, { prefix = "<leader>" })
|
||||||
vim.keymap.set("n", "<leader>xx", "<cmd>TroubleToggle<cr>", { silent = true, desc = "Trouble: Toggle" })
|
vim.keymap.set("n", "<leader>xx", "<cmd>TroubleToggle<cr>", { silent = true, desc = "Trouble: Toggle" })
|
||||||
vim.keymap.set("n", "<leader>xw", "<cmd>TroubleToggle workspace_diagnostics<cr>", { silent = true, desc = "Trouble: Workspace Diagnostics" })
|
vim.keymap.set(
|
||||||
vim.keymap.set("n", "<leader>xd", "<cmd>TroubleToggle document_diagnostics<cr>", { silent = true, desc = "Trouble: Document Diagnostics" })
|
"n",
|
||||||
|
"<leader>xw",
|
||||||
|
"<cmd>TroubleToggle workspace_diagnostics<cr>",
|
||||||
|
{ silent = true, desc = "Trouble: Workspace Diagnostics" }
|
||||||
|
)
|
||||||
|
vim.keymap.set(
|
||||||
|
"n",
|
||||||
|
"<leader>xd",
|
||||||
|
"<cmd>TroubleToggle document_diagnostics<cr>",
|
||||||
|
{ silent = true, desc = "Trouble: Document Diagnostics" }
|
||||||
|
)
|
||||||
vim.keymap.set("n", "<leader>xl", "<cmd>TroubleToggle loclist<cr>", { silent = true, desc = "Trouble: Loclist" })
|
vim.keymap.set("n", "<leader>xl", "<cmd>TroubleToggle loclist<cr>", { silent = true, desc = "Trouble: Loclist" })
|
||||||
vim.keymap.set("n", "<leader>xq", "<cmd>TroubleToggle quickfix<cr>", { silent = true, desc = "Trouble: Quickfix" })
|
vim.keymap.set("n", "<leader>xq", "<cmd>TroubleToggle quickfix<cr>", { silent = true, desc = "Trouble: Quickfix" })
|
||||||
vim.keymap.set("n", "<leader>xt", "<cmd>TodoTrouble<cr>", { silent = true, desc = "Trouble: Todo Items" })
|
vim.keymap.set("n", "<leader>xt", "<cmd>TodoTrouble<cr>", { silent = true, desc = "Trouble: Todo Items" })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user