fix(nvim): fix devicons padding
This commit is contained in:
parent
863b036bef
commit
10ea13464f
2 changed files with 9 additions and 59 deletions
|
@ -11,62 +11,12 @@ if not vim.loop.fs_stat(lazypath) then
|
||||||
lazypath,
|
lazypath,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
M.setup = function(plugins)
|
M.setup = function(plugins)
|
||||||
require("lazy").setup(plugins, {
|
require("lazy").setup(plugins, {
|
||||||
install = {
|
install = { colorscheme = { "catppuccin" } },
|
||||||
colorscheme = { "catppuccin" },
|
ui = { border = vim.g.bc.style },
|
||||||
},
|
|
||||||
performance = {
|
|
||||||
rtp = {
|
|
||||||
disabled_plugins = {
|
|
||||||
"2html_plugin",
|
|
||||||
"bugreport",
|
|
||||||
"compiler",
|
|
||||||
"ftplugin",
|
|
||||||
"fzf",
|
|
||||||
"getscript",
|
|
||||||
"getscriptPlugin",
|
|
||||||
"gzip",
|
|
||||||
"logipat",
|
|
||||||
"matchit",
|
|
||||||
"netrw",
|
|
||||||
"netrwFileHandlers",
|
|
||||||
"netrwPlugin",
|
|
||||||
"netrwSettings",
|
|
||||||
"optwin",
|
|
||||||
"rplugin",
|
|
||||||
"rrhelper",
|
|
||||||
"spellfile_plugin",
|
|
||||||
"synmenu",
|
|
||||||
"syntax",
|
|
||||||
"tar",
|
|
||||||
"tarPlugin",
|
|
||||||
"tutor",
|
|
||||||
"vimball",
|
|
||||||
"vimballPlugin",
|
|
||||||
"zip",
|
|
||||||
"zipPlugin",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
ui = {
|
|
||||||
icons = {
|
|
||||||
cmd = " ",
|
|
||||||
config = "",
|
|
||||||
event = " ",
|
|
||||||
ft = " ",
|
|
||||||
init = " ",
|
|
||||||
keys = " ",
|
|
||||||
plugin = " ",
|
|
||||||
runtime = " ",
|
|
||||||
source = " ",
|
|
||||||
start = " ",
|
|
||||||
task = " ",
|
|
||||||
},
|
|
||||||
border = vim.g.bc.style,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -28,36 +28,36 @@ return {
|
||||||
config = function()
|
config = function()
|
||||||
local devicons = require("nvim-web-devicons")
|
local devicons = require("nvim-web-devicons")
|
||||||
local justfile = {
|
local justfile = {
|
||||||
icon = " ",
|
icon = "",
|
||||||
name = "Justfile",
|
name = "Justfile",
|
||||||
color = "#dea584",
|
color = "#dea584",
|
||||||
}
|
}
|
||||||
devicons.setup({
|
devicons.setup({
|
||||||
override_by_extension = {
|
override_by_extension = {
|
||||||
["norg"] = {
|
["norg"] = {
|
||||||
icon = " ",
|
icon = "",
|
||||||
name = "Neorg",
|
name = "Neorg",
|
||||||
color = "#77aa99",
|
color = "#77aa99",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
override_by_filename = {
|
override_by_filename = {
|
||||||
[".ecrc"] = {
|
[".ecrc"] = {
|
||||||
icon = " ",
|
icon = "",
|
||||||
name = "EditorConfigChecker",
|
name = "EditorConfigChecker",
|
||||||
color = "#a6e3a1",
|
color = "#a6e3a1",
|
||||||
},
|
},
|
||||||
[".envrc"] = {
|
[".envrc"] = {
|
||||||
icon = " ",
|
icon = "",
|
||||||
name = "envrc",
|
name = "envrc",
|
||||||
color = "#faf743",
|
color = "#faf743",
|
||||||
},
|
},
|
||||||
[".editorconfig"] = {
|
[".editorconfig"] = {
|
||||||
icon = " ",
|
icon = "",
|
||||||
name = "EditorConfig",
|
name = "EditorConfig",
|
||||||
color = "#a6e3a1",
|
color = "#a6e3a1",
|
||||||
},
|
},
|
||||||
[".luacheckrc"] = {
|
[".luacheckrc"] = {
|
||||||
icon = " ",
|
icon = "",
|
||||||
name = "LuacheckRC",
|
name = "LuacheckRC",
|
||||||
color = "#51a0cf",
|
color = "#51a0cf",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue