feat(icons): disable icons
This commit is contained in:
+1
-1
@@ -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 })
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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 = "" },
|
||||
|
||||
Reference in New Issue
Block a user