From 53e82406ec34b8eb7b493cb11f3946f5e8f4eb48 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sat, 17 Aug 2024 12:41:29 -0400 Subject: [PATCH] font: back to non-nerd jetbrains --- programs | 1 - src/dot_config/alacritty/alacritty.toml.tmpl | 2 +- src/dot_config/nvim/lua/coding.lua | 38 ++++++++++++++++++++ src/dot_config/nvim/lua/frontend.lua | 2 +- 4 files changed, 40 insertions(+), 3 deletions(-) diff --git a/programs b/programs index 866d450..680f132 100644 --- a/programs +++ b/programs @@ -2,7 +2,6 @@ # essentials # ttf-jetbrains-mono -ttf-jetbrains-mono-nerd wqy-microhei ttf-roboto inter-font diff --git a/src/dot_config/alacritty/alacritty.toml.tmpl b/src/dot_config/alacritty/alacritty.toml.tmpl index e52799e..a98c810 100644 --- a/src/dot_config/alacritty/alacritty.toml.tmpl +++ b/src/dot_config/alacritty/alacritty.toml.tmpl @@ -12,7 +12,7 @@ opacity = 1.0 {{- end}} [font] -normal = { family = "JetBrainsMono NF" } +normal = { family = "JetBrainsMono" } size = 10 [colors] [colors.primary] diff --git a/src/dot_config/nvim/lua/coding.lua b/src/dot_config/nvim/lua/coding.lua index 2514ec6..45ef571 100644 --- a/src/dot_config/nvim/lua/coding.lua +++ b/src/dot_config/nvim/lua/coding.lua @@ -104,6 +104,44 @@ vim.cmd.packadd("trouble.nvim") require('trouble').setup({ auto_preview = false, -- default config available at https://github.com/folke/trouble.nvim + icons = { + indent = { + middle = " ", + last = " ", + top = " ", + ws = "│ ", + }, + folder_closed = "- ", + folder_open = "@ ", + kinds = { + Array = "a ", + Boolean = "b ", + Class = "C ", + Constant = "π ", + Constructor = "Π ", + Enum = "Σ ", + EnumMember = "Σ ", + Event = "ε ", + Field = "f ", + File = "F ", + Function = "λ ", + Interface = "I ", + Key = "β ", + Method = "λ ", + Module = "M ", + Namespace = "N ", + Null = "0 ", + Number = "1 ", + Object = "O ", + Operator = "% ", + Package = "P ", + Property = "β ", + String = "s ", + Struct = "S ", + TypeParameter = "T ", + Variable = "α ", + }, + }, }) keymap("dxx", "Trouble diagnostics toggle") keymap("gR", "Trouble lsp_references toggle") diff --git a/src/dot_config/nvim/lua/frontend.lua b/src/dot_config/nvim/lua/frontend.lua index 4d3d627..4024ab5 100644 --- a/src/dot_config/nvim/lua/frontend.lua +++ b/src/dot_config/nvim/lua/frontend.lua @@ -4,7 +4,7 @@ -------------------------------- -------------------------------- -vim.o.guifont = "JetBrainsMono NF:h10" +vim.o.guifont = "JetBrains Mono:h10" if vim.g.neovide then local confutil = require("confutil")