Add mini-icons
This commit is contained in:
parent
996dd7f31e
commit
57e62a827d
@ -91,21 +91,22 @@ return {
|
|||||||
plugins = { spelling = true },
|
plugins = { spelling = true },
|
||||||
defaults = {
|
defaults = {
|
||||||
mode = { "n", "v" },
|
mode = { "n", "v" },
|
||||||
["g"] = { name = "+goto" },
|
{ "<leader><tab>", group = "tabs" },
|
||||||
["gs"] = { name = "+surround" },
|
{ "<leader>b", group = "buffer" },
|
||||||
["]"] = { name = "+next" },
|
{ "<leader>c", group = "code" },
|
||||||
["["] = { name = "+prev" },
|
{ "<leader>f", group = "file/find" },
|
||||||
["<leader><tab>"] = { name = "+tabs" },
|
{ "<leader>g", group = "git" },
|
||||||
["<leader>b"] = { name = "+buffer" },
|
{ "<leader>gh", group = "hunks" },
|
||||||
["<leader>c"] = { name = "+code" },
|
{ "<leader>q", group = "quit/session" },
|
||||||
["<leader>f"] = { name = "+file/find" },
|
{ "<leader>s", group = "search" },
|
||||||
["<leader>g"] = { name = "+git" },
|
{ "<leader>sn", group = "noice" },
|
||||||
["<leader>gh"] = { name = "+hunks" },
|
{ "<leader>u", group = "ui" },
|
||||||
["<leader>q"] = { name = "+quit/session" },
|
{ "<leader>w", group = "windows" },
|
||||||
["<leader>s"] = { name = "+search" },
|
{ "<leader>x", group = "diagnostics/quickfix" },
|
||||||
["<leader>u"] = { name = "+ui" },
|
{ "[", group = "prev" },
|
||||||
["<leader>w"] = { name = "+windows" },
|
{ "]", group = "next" },
|
||||||
["<leader>x"] = { name = "+diagnostics/quickfix" },
|
{ "g", group = "goto" },
|
||||||
|
{ "gs", group = "surround" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
|
@ -206,6 +206,25 @@ return {
|
|||||||
},
|
},
|
||||||
|
|
||||||
-- icons
|
-- icons
|
||||||
|
{
|
||||||
|
"echasnovski/mini.icons",
|
||||||
|
lazy = true,
|
||||||
|
opts = {
|
||||||
|
file = {
|
||||||
|
[".keep"] = { glyph = "", hl = "MiniIconsGrey" },
|
||||||
|
["devcontainer.json"] = { glyph = "", hl = "MiniIconsAzure" },
|
||||||
|
},
|
||||||
|
filetype = {
|
||||||
|
dotenv = { glyph = "", hl = "MiniIconsYellow" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
init = function()
|
||||||
|
package.preload["nvim-web-devicons"] = function()
|
||||||
|
require("mini.icons").mock_nvim_web_devicons()
|
||||||
|
return package.loaded["nvim-web-devicons"]
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"nvim-tree/nvim-web-devicons",
|
"nvim-tree/nvim-web-devicons",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
|
Loading…
Reference in New Issue
Block a user