From 418442d793251e8bba5942622ebe039f655dcbcf Mon Sep 17 00:00:00 2001 From: joe Date: Thu, 23 Oct 2025 17:51:17 +0200 Subject: icon removal in progress --- .config/nvim/lua/config/settings.lua | 8 ++++---- .config/nvim/lua/plugins/lspkind.lua | 33 +++-------------------------- .config/nvim/lua/plugins/lualine.lua | 40 ++++++++---------------------------- 3 files changed, 15 insertions(+), 66 deletions(-) (limited to '.config/nvim') diff --git a/.config/nvim/lua/config/settings.lua b/.config/nvim/lua/config/settings.lua index 548fb11..aac3187 100644 --- a/.config/nvim/lua/config/settings.lua +++ b/.config/nvim/lua/config/settings.lua @@ -99,10 +99,10 @@ vim.diagnostic.config({ }, signs = { text = { - [vim.diagnostic.severity.ERROR] = " ", - [vim.diagnostic.severity.WARN] = " ", - [vim.diagnostic.severity.INFO] = " ", - [vim.diagnostic.severity.HINT] = " ", + [vim.diagnostic.severity.ERROR] = "E:", + [vim.diagnostic.severity.WARN] = "W:", + [vim.diagnostic.severity.INFO] = "I:", + [vim.diagnostic.severity.HINT] = "H:", }, }, underline = true, diff --git a/.config/nvim/lua/plugins/lspkind.lua b/.config/nvim/lua/plugins/lspkind.lua index 4326c76..2a5165f 100644 --- a/.config/nvim/lua/plugins/lspkind.lua +++ b/.config/nvim/lua/plugins/lspkind.lua @@ -3,35 +3,8 @@ return { 'onsails/lspkind.nvim', config = function() require('lspkind').setup({ - mode = 'symbol_text', - preset = 'codicons', - symbol_map = { - Text = "󰉿", - Method = "󰆧", - Function = "󰊕", - Constructor = "", - Field = "󰜢", - Variable = "󰀫", - Class = "󰠱", - Interface = "", - Module = "", - Property = "󰜢", - Unit = "󰑭", - Value = "󰎠", - Enum = "", - Keyword = "󰌋", - Snippet = "", - Color = "󰏘", - File = "󰈙", - Reference = "󰈇", - Folder = "󰉋", - EnumMember = "", - Constant = "󰏿", - Struct = "󰙅", - Event = "", - Operator = "󰆕", - TypeParameter = "", - }, + mode = 'text', + preset = 'default', }) end }, @@ -59,7 +32,7 @@ return { }, formatting = { format = lspkind.cmp_format({ - mode = 'symbol_text', + mode = 'text', maxwidth = { menu = 50, abbr = 50, diff --git a/.config/nvim/lua/plugins/lualine.lua b/.config/nvim/lua/plugins/lualine.lua index 53d22ff..f6223c6 100644 --- a/.config/nvim/lua/plugins/lualine.lua +++ b/.config/nvim/lua/plugins/lualine.lua @@ -1,7 +1,6 @@ return { { 'nvim-lualine/lualine.nvim', - dependencies = { 'nvim-tree/nvim-web-devicons' }, config = function() local colors = { bg = '#32302f', @@ -108,7 +107,6 @@ return { function() return '▊' end, - -- color = { fg = colors.green }, -- Sets highlighting of component color = function() -- auto change color according to neovims mode return { fg = mode_color[vim.fn.mode()] } @@ -116,28 +114,15 @@ return { padding = { left = 0, right = 1 }, -- We don't need space before this } - ins_left { - -- mode component - function() - return '' - end, - color = function() - -- auto change color according to neovims mode - return { fg = mode_color[vim.fn.mode()] } - end, - padding = { right = 1 }, - } - ins_left { 'buffers', show_filename_only = false, hide_filename_extension = false, show_modified_status = true, - icons_enabled = true, + icons_enabled = false, symbols = { - modified = ' ●', -- Text to show when the buffer is modified + modified = '+', -- Text to show when the buffer is modified alternate_file = '', -- Text to show to identify the alternate file - directory = '', -- Text to show when the buffer is a directory }, buffers_color = { -- Same values as the general color option can be used here. @@ -151,11 +136,11 @@ return { ins_left { 'diagnostics', sources = { 'nvim_diagnostic' }, - symbols = { error = ' ', warn = ' ', info = ' ' }, + symbols = { error = 'E:', warn = 'W:', info = 'I:' }, diagnostics_color = { color_error = { fg = colors.red }, color_warn = { fg = colors.yellow }, - color_info = { fg = colors.cyan }, + color_info = { fg = colors.blue }, }, } @@ -169,7 +154,7 @@ return { ins_right { 'filetype', - icons_enabled = true, -- I think icons are cool but Eviline doesn't have them. sigh + icons_enabled = false, -- I think icons are cool but Eviline doesn't have them. sigh color = { fg = colors.blue }, } @@ -180,7 +165,6 @@ return { local buf_ft = vim.api.nvim_buf_get_option(0, 'filetype') local clients = vim.lsp.get_clients() if next(clients) == nil then - icon = '' return '' end for _, client in ipairs(clients) do @@ -191,26 +175,19 @@ return { end return msg end, - icon = ' ', + icons_enabled = false, color = { fg = colors.cyan }, } ins_right { 'branch', - icon = '', + icons_enabled = false, color = { fg = colors.blue, gui = 'bold' }, } - ins_right { - -- filesize component - 'filesize', - cond = conditions.buffer_not_empty, - } - ins_right { 'diff', - -- Is it me or the symbol for modified us really weird - symbols = { added = ' ', modified = '󰝤 ', removed = ' ' }, + symbols = { added = '+', modified = '~', removed = '-' }, diff_color = { added = { fg = colors.bright_green }, modified = { fg = colors.yellow }, @@ -225,7 +202,6 @@ return { function() return '▊' end, - -- color = { fg = colors.green }, color = function() -- auto change color according to neovims mode return { fg = mode_color[vim.fn.mode()] } -- cgit v1.2.3