feat(icons): disable icons

This commit is contained in:
2024-08-08 23:05:59 +02:00
parent 2db2fdd1de
commit d379085080
5 changed files with 27 additions and 61 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ local function setup_diagnostics()
update_in_insert = false,
severity_sort = false,
})
local signs = { Error = "󰅚 ", Warn = "󰀪 ", Hint = "󰌶 ", Info = "" }
local signs = { Error = "E", Warn = "W", Hint = "H", Info = "I" }
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
+6 -3
View File
@@ -3,9 +3,6 @@
---@type LazyPluginSpec
return {
"sindrets/diffview.nvim",
dependencies = {
"nvim-tree/nvim-web-devicons",
},
keys = {
{ "<leader>gg", vim.cmd.DiffviewOpen, mode = "n" },
},
@@ -13,6 +10,12 @@ return {
local actions = require("diffview.actions")
require("diffview").setup({
enhanced_diff_hl = true,
use_icons = false,
signs = {
fold_closed = "+ ",
fold_open = "- ",
done = "",
},
view = {
default = {
layout = "diff2_horizontal",
+1 -4
View File
@@ -5,16 +5,13 @@ return {
"nvim-lualine/lualine.nvim",
lazy = true,
event = "VimEnter",
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
local custom_moonfly = require("lualine.themes.moonfly")
custom_moonfly.normal.c.bg = require("moonfly").palette.bg
require("lualine").setup({
options = {
icons_enabled = true,
icons_enabled = false,
theme = custom_moonfly,
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },