config: re pick Jetbrains Mono again with custom ligatures

main
sudo pacman -Syu 2023-05-31 01:08:54 +07:00
parent 3f5ac0e1f3
commit 36f90e373d
3 changed files with 10 additions and 3 deletions

View File

@ -3,7 +3,7 @@ include mocha.conf
# https://sw.kovidgoyal.net/kitty/conf/#fonts # https://sw.kovidgoyal.net/kitty/conf/#fonts
font_family JetBrains Mono font_family JetBrains Mono
font_size 14.0 font_size 16.0
# kitty +list-fonts --psnames # kitty +list-fonts --psnames
modify_font cell_height 120% modify_font cell_height 120%

View File

@ -63,6 +63,7 @@ vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1 vim.g.loaded_netrwPlugin = 1
-- Use plugin neoformat -- Use plugin neoformat
vim.g.neoformat_basic_format_trim = 1
vim.g.neoformat_enabled_go = { "gofumpt" } vim.g.neoformat_enabled_go = { "gofumpt" }
vim.g.shfmt_opt = "-ci" vim.g.shfmt_opt = "-ci"

View File

@ -1,7 +1,13 @@
local wezterm = require("wezterm") local wezterm = require("wezterm")
return { return {
-- font = wezterm.font("JetBrains Mono"), font = wezterm.font({
font = wezterm.font("Iosevka Term SS08"), family = "JetBrains Mono",
harfbuzz_features = {
"ss02", -- f l m t Ww y
"cv18", -- 2 6 9
"cv20", -- 5
},
}),
font_size = 16.0, font_size = 16.0,
line_height = 1.2, line_height = 1.2,
use_cap_height_to_scale_fallback_fonts = true, use_cap_height_to_scale_fallback_fonts = true,