Add icons, run stylua

This commit is contained in:
Jiří Štefka 2023-03-16 21:59:56 +01:00
parent a8b3645148
commit b013ab780c

@ -181,7 +181,6 @@ local config = {
-- ["<C-s>"] = { ":w!<cr>", desc = "Save File" }, -- change description but the same command -- ["<C-s>"] = { ":w!<cr>", desc = "Save File" }, -- change description but the same command
-- Debugger mappings -- Debugger mappings
["<leader>d"] = { name = "Debugger" },
["<leader>dl"] = { name = "Load launch.json" }, ["<leader>dl"] = { name = "Load launch.json" },
-- Config loading -- Config loading
["<leader>dlc"] = { ["<leader>dlc"] = {
@ -200,12 +199,12 @@ local config = {
-- Load launch.json for all supported languages -- Load launch.json for all supported languages
["<leader>dla"] = { function() require("dap.ext.vscode").load_launchjs(nil, nil) end, desc = "All" }, ["<leader>dla"] = { function() require("dap.ext.vscode").load_launchjs(nil, nil) end, desc = "All" },
-- Mardown preview -- Mardown preview
["<leader>m"] = { name = "Markdown" }, ["<leader>m"] = { name = "Markdown" },
["<leader>mp"] = { "<cmd>MarkdownPreview<cr>", desc = "Markdown preview" }, ["<leader>mp"] = { "<cmd>MarkdownPreview<cr>", desc = "Markdown preview" },
["<leader>ms"] = { "<cmd>MarkdownPreviewStop<cr>", desc = "Markdown preview stop" }, ["<leader>ms"] = { "<cmd>MarkdownPreviewStop<cr>", desc = "Markdown preview stop" },
["<leader>mt"] = { "<cmd>MarkdownPreviewToggle<cr>", desc = "Markdown preview toggle" }, ["<leader>mt"] = { "<cmd>MarkdownPreviewToggle<cr>", desc = "Markdown preview toggle" },
-- Vimtex mappings -- Vimtex mappings
["<leader>x"] = { name = "LaTeX" }, -- ["<leader>x"] = { name = " LaTeX" },
["<leader>xi"] = { "<cmd>VimtexInfo<cr>", desc = "Info" }, ["<leader>xi"] = { "<cmd>VimtexInfo<cr>", desc = "Info" },
["<leader>xI"] = { "<cmd>VimtexInfoFull<cr>", desc = "Full info" }, ["<leader>xI"] = { "<cmd>VimtexInfoFull<cr>", desc = "Full info" },
["<leader>xt"] = { "<cmd>VimtexTocOpen<cr>", desc = "Open table of contents" }, ["<leader>xt"] = { "<cmd>VimtexTocOpen<cr>", desc = "Open table of contents" },