nvim: only activate nerdfonts if installed
This commit is contained in:
parent
83044f636c
commit
21bc738719
|
@ -53,4 +53,7 @@ vim.cmd('colorscheme amora')
|
|||
vim.api.nvim_set_hl(0, 'AmoraComment', { fg = '#7C4180', ctermfg = 61 })
|
||||
vim.api.nvim_set_hl(0, 'AmoraCommentBold',
|
||||
{ fg = '#7C4180', ctermfg = 61, bold = true })
|
||||
require('nvim-web-devicons').setup({})
|
||||
|
||||
if require('my.functions').nerdfont_installed() then
|
||||
require('nvim-web-devicons').setup({})
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user