chore(nvim): im tired of the icons

main
sudo pacman -Syu 2024-02-26 10:52:30 +07:00
parent eea7807c43
commit c684020036
1 changed files with 3 additions and 45 deletions

View File

@ -135,7 +135,6 @@ require("lazy").setup({
"ibhagwan/fzf-lua", "ibhagwan/fzf-lua",
dependencies = { dependencies = {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
"nvim-tree/nvim-web-devicons",
}, },
config = function() config = function()
require("fzf-lua").setup({ "fzf-native" }) require("fzf-lua").setup({ "fzf-native" })
@ -157,9 +156,6 @@ require("lazy").setup({
-- https://github.com/nvim-tree/nvim-tree.lua -- https://github.com/nvim-tree/nvim-tree.lua
{ {
"nvim-tree/nvim-tree.lua", "nvim-tree/nvim-tree.lua",
dependencies = {
"nvim-tree/nvim-web-devicons",
},
init = function() init = function()
vim.g.loaded_netrw = 1 vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1 vim.g.loaded_netrwPlugin = 1
@ -169,13 +165,15 @@ require("lazy").setup({
renderer = { renderer = {
group_empty = true, group_empty = true,
root_folder_label = false, root_folder_label = false,
indent_width = 1, indent_width = 2,
special_files = { special_files = {
"go.mod", "go.mod",
"go.sum", "go.sum",
}, },
icons = { icons = {
show = { show = {
file = false,
folder = false,
folder_arrow = false, folder_arrow = false,
}, },
}, },
@ -321,46 +319,6 @@ require("lazy").setup({
"ntpeters/vim-better-whitespace", "ntpeters/vim-better-whitespace",
}, },
-- https://github.com/nvim-tree/nvim-web-devicons
{
"nvim-tree/nvim-web-devicons",
config = function()
local icon_go = {
icon = "",
color = "#519aba",
name = "go",
}
local icon_git = {
icon = "",
color = "#f1502f",
name = "Gitignore",
}
require("nvim-web-devicons").setup({
default = true,
strict = true,
override_by_filename = {
[".gitignore"] = icon_git,
[".gitmodules"] = icon_git,
["Makefile"] = {
icon = "",
color = "#fffafa",
name = "Makefile",
},
["go.mod"] = icon_go,
["go.sum"] = icon_go,
},
override_by_extension = {
["sh"] = {
icon = "",
color = "#44d62c",
name = "sh",
},
},
})
end,
},
-- https://github.com/echasnovski/mini.nvim -- https://github.com/echasnovski/mini.nvim
{ {
"echasnovski/mini.nvim", "echasnovski/mini.nvim",