From a9692b08c11fcd279f5ac0c298bbda1ebea26b8f Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 15 May 2023 06:04:57 -0500 Subject: [PATCH] fix: update for nerd fonts v3 --- dots/.config/nvim/lua/plugins/configs/_cmp.lua | 10 +++++----- dots/.config/nvim/lua/plugins/configs/alpha.lua | 4 ++-- dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua | 2 +- dots/.config/nvim/lua/plugins/plugins.lua | 8 ++++---- dots/.config/wezterm/config/fonts.lua | 5 ++--- 5 files changed, 14 insertions(+), 15 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/_cmp.lua b/dots/.config/nvim/lua/plugins/configs/_cmp.lua index 456e984a..b956df47 100755 --- a/dots/.config/nvim/lua/plugins/configs/_cmp.lua +++ b/dots/.config/nvim/lua/plugins/configs/_cmp.lua @@ -12,17 +12,17 @@ cmp.setup({ fields = { cmp.ItemField.Kind, cmp.ItemField.Abbr, cmp.ItemField.Menu }, format = function(entry, vim_item) local selections = { - fuzzy_buffer = { symbol = "﬘ ", name = "Buffer", hl_group = "Buffer" }, + fuzzy_buffer = { symbol = "󰱼 ", name = "Buffer", hl_group = "Buffer" }, calc = { symbol = " ", name = "Calculator", hl_group = "Calculator" }, - neorg = { symbol = " ", name = "Neorg", hl_group = "Neorg" }, - emoji = { symbol = "ﲃ ", name = "Emoji", hl_group = "Emoji" }, + neorg = { symbol = "󱍤 ", name = "Neorg", hl_group = "Neorg" }, + emoji = { symbol = "󰞅 ", name = "Emoji", hl_group = "Emoji" }, zsh = { symbol = " ", name = "Zsh", hl_group = "Zsh" }, crates = { symbol = " ", name = "Crates", hl_group = "Crates" }, cmdline_history = { symbol = " ", name = "Cmd History", hl_group = "CmdHistory" }, rg = { symbol = " ", name = "Ripgrep", hl_group = "Ripgrep" }, npm = { symbol = " ", name = "Npm,", hl_group = "Npm," }, - conventionalcommits = { symbol = " ", name = "Commit", hl_group = "Commit" }, - spell = { symbol = " ", name = "Spell", hl_group = "Spell" }, + conventionalcommits = { symbol = "󰊢 ", name = "Commit", hl_group = "Commit" }, + spell = { symbol = "󰏪 ", name = "Spell", hl_group = "Spell" }, } local extra_kind_icons = { diff --git a/dots/.config/nvim/lua/plugins/configs/alpha.lua b/dots/.config/nvim/lua/plugins/configs/alpha.lua index 66b010a4..fa65856d 100644 --- a/dots/.config/nvim/lua/plugins/configs/alpha.lua +++ b/dots/.config/nvim/lua/plugins/configs/alpha.lua @@ -119,11 +119,11 @@ local buttons = { type = "group", val = { button("e", " New File", ":ene startinsert "), - button("f", " Find File", ":Telescope find_files"), + button("f", "󰈞 Find File", ":Telescope find_files"), button("r", " Recent", ":Telescope oldfiles"), button("s", " Settings", "e ~/.config/nvim/"), button("u", " Update Plugins", ":Lazy sync"), - button("q", " Quit", ":qa"), + button("q", "󰅚 Quit", ":qa"), }, opts = { spacing = 0 }, } diff --git a/dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua b/dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua index 5ff6f94e..2aad4c10 100644 --- a/dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua +++ b/dots/.config/nvim/lua/plugins/configs/nvim-ufo.lua @@ -10,7 +10,7 @@ vim.keymap.set("n", "zM", require("ufo").closeAllFolds) -- Show numbers for fold text local handler = function(virtText, lnum, endLnum, width, truncate) local newVirtText = {} - local suffix = ("  %d "):format(endLnum - lnum) + local suffix = (" 󰁂 %d "):format(endLnum - lnum) local sufWidth = vim.fn.strdisplaywidth(suffix) local targetWidth = width - sufWidth local curWidth = 0 diff --git a/dots/.config/nvim/lua/plugins/plugins.lua b/dots/.config/nvim/lua/plugins/plugins.lua index a385770d..91e1f1a0 100755 --- a/dots/.config/nvim/lua/plugins/plugins.lua +++ b/dots/.config/nvim/lua/plugins/plugins.lua @@ -691,10 +691,10 @@ lazy.setup({ enable = true, head = { cursor = "⯈", texthl = "SmoothCursorCursor", linehl = nil }, body = { - { cursor = "", texthl = "SmoothCursorTrailBig1" }, - { cursor = "", texthl = "SmoothCursorTrailBig2" }, - { cursor = "●", texthl = "SmoothCursorTrailMedium" }, - { cursor = "●", texthl = "SmoothCursorTrailMedium" }, + { cursor = "", texthl = "SmoothCursorTrailBig1" }, + { cursor = "", texthl = "SmoothCursorTrailBig2" }, + { cursor = "󰝥", texthl = "SmoothCursorTrailMedium" }, + { cursor = "󰝥", texthl = "SmoothCursorTrailMedium" }, { cursor = "•", texthl = "SmoothCursorTrailSmall" }, { cursor = ".", texthl = "SmoothCursorTrailXSmall" }, { cursor = ".", texthl = "SmoothCursorTrailXSmall" }, diff --git a/dots/.config/wezterm/config/fonts.lua b/dots/.config/wezterm/config/fonts.lua index 6267826b..36ca8531 100644 --- a/dots/.config/wezterm/config/fonts.lua +++ b/dots/.config/wezterm/config/fonts.lua @@ -39,12 +39,11 @@ return { }, -- NOTE: Attempt to resolve missing symbols etc. -- , BuiltIn - { family = "Symbols Nerd Font Mono", scale = 0.8 }, - { family = "Symbols Nerd Font", scale = 0.8 }, + { family = "Symbols Nerd Font Mono" }, + { family = "Symbols Nerd Font" }, "Noto Sans Symbols", "Noto Sans Symbols2", "PowerlineExtraSymbols", - { family = "FiraCode NF", weight = "DemiBold", scale = 1.2 }, "MesloLGS NF", -- , BuiltIn