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,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
M.setup = function(plugins)
|
||||
require("lazy").setup(plugins, {
|
||||
install = {
|
||||
colorscheme = { "catppuccin" },
|
||||
},
|
||||
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,
|
||||
},
|
||||
install = { colorscheme = { "catppuccin" } },
|
||||
ui = { border = vim.g.bc.style },
|
||||
})
|
||||
end
|
||||
|
||||
|
|
|
@ -28,36 +28,36 @@ return {
|
|||
config = function()
|
||||
local devicons = require("nvim-web-devicons")
|
||||
local justfile = {
|
||||
icon = " ",
|
||||
icon = "",
|
||||
name = "Justfile",
|
||||
color = "#dea584",
|
||||
}
|
||||
devicons.setup({
|
||||
override_by_extension = {
|
||||
["norg"] = {
|
||||
icon = " ",
|
||||
icon = "",
|
||||
name = "Neorg",
|
||||
color = "#77aa99",
|
||||
},
|
||||
},
|
||||
override_by_filename = {
|
||||
[".ecrc"] = {
|
||||
icon = " ",
|
||||
icon = "",
|
||||
name = "EditorConfigChecker",
|
||||
color = "#a6e3a1",
|
||||
},
|
||||
[".envrc"] = {
|
||||
icon = " ",
|
||||
icon = "",
|
||||
name = "envrc",
|
||||
color = "#faf743",
|
||||
},
|
||||
[".editorconfig"] = {
|
||||
icon = " ",
|
||||
icon = "",
|
||||
name = "EditorConfig",
|
||||
color = "#a6e3a1",
|
||||
},
|
||||
[".luacheckrc"] = {
|
||||
icon = " ",
|
||||
icon = "",
|
||||
name = "LuacheckRC",
|
||||
color = "#51a0cf",
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue