Skip to content

Commit 7355f21

Browse files
committed
misc font
1 parent e7162c1 commit 7355f21

File tree

4 files changed

+5
-42
lines changed

4 files changed

+5
-42
lines changed

home/.config/fontconfig/fonts.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<alias>
3737
<family>monospace</family>
3838
<prefer>
39-
<family>FantasqueSansM Nerd Font</family>
39+
<family>FantasqueSansMNoLig Nerd Font</family>
4040
<family>Source Code Pro</family>
4141
<family>DejaVu Sans Mono</family>
4242
<family>思源黑体</family>

home/.config/neovide/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[font]
2+
normal = ["FantasqueSansMNoLig Nerd Font"]
3+
size = 20.0

home/.config/nvim/lua/plugins.lua

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -313,46 +313,6 @@ nvim_lsp.ts_ls.setup {
313313
single_file_support = false,
314314
}
315315

316-
local cmp = require('cmp')
317-
cmp.setup {
318-
formatting = {
319-
format = function(entry, vim_item)
320-
vim_item.menu = ({
321-
buffer = "[Buffer]",
322-
nvim_lsp = "[LSP]",
323-
ultisnips = "[UltiSnips]",
324-
nvim_lua = "[Lua]",
325-
cmp_tabnine = "[TabNine]",
326-
look = "[Look]",
327-
path = "[Path]",
328-
spell = "[Spell]",
329-
calc = "[Calc]",
330-
emoji = "[Emoji]"
331-
})[entry.source.name]
332-
return vim_item
333-
end
334-
},
335-
mapping = {
336-
['<C-p>'] = cmp.mapping.select_prev_item(),
337-
['<C-n>'] = cmp.mapping.select_next_item(),
338-
['<C-d>'] = cmp.mapping.scroll_docs(-4),
339-
['<C-f>'] = cmp.mapping.scroll_docs(4),
340-
['<C-Space>'] = cmp.mapping.complete(),
341-
['<C-e>'] = cmp.mapping.close(),
342-
['<Tab>'] = cmp.mapping.confirm({
343-
behavior = cmp.ConfirmBehavior.Insert,
344-
select = true
345-
}),
346-
},
347-
sources = {
348-
{name = 'buffer'}, {name = 'nvim_lsp'}, {name = "ultisnips"},
349-
{name = "nvim_lua"}, {name = "look"}, {name = "path"},
350-
{name = 'cmp_tabnine'}, {name = "calc"}, {name = "spell"},
351-
{name = "emoji"}
352-
},
353-
completion = {completeopt = 'menu,menuone,noinsert'}
354-
}
355-
356316
require('mason').setup()
357317
require('mason-lspconfig').setup()
358318

home/.config/wezterm/wezterm.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ config.unix_domains = { { name = 'unix', }, }
1616
config.send_composed_key_when_right_alt_is_pressed = false
1717

1818
config.color_scheme = 'Catppuccin Mocha'
19-
config.font = wezterm.font 'FantasqueSansM Nerd Font'
19+
config.font = wezterm.font 'FantasqueSansMNoLig Nerd Font'
2020
config.font_size = is_mac and 24 or 18
2121

2222
config.leader = {mods = 'ALT', key = 'Space'}

0 commit comments

Comments
 (0)