From 83044f636c6278e02c9df333cbbc59912a40d3eb Mon Sep 17 00:00:00 2001 From: tea Date: Wed, 8 May 2024 21:33:19 +0200 Subject: [PATCH] nvim: explicitly enable nerdfont symbols --- .config/nvim/lua/my/plugins.lua | 4 ++++ .config/nvim/lua/my/settings.lua | 1 + 2 files changed, 5 insertions(+) diff --git a/.config/nvim/lua/my/plugins.lua b/.config/nvim/lua/my/plugins.lua index 0a69fcd..d7ae757 100644 --- a/.config/nvim/lua/my/plugins.lua +++ b/.config/nvim/lua/my/plugins.lua @@ -113,6 +113,10 @@ require('packer').startup({ -- tools local nerdfont_installed = require('my.functions').nerdfont_installed() + use { + 'https://github.com/kyazdani42/nvim-web-devicons', + cond = nerdfont_installed + } use { 'https://github.com/folke/which-key.nvim' } use { diff --git a/.config/nvim/lua/my/settings.lua b/.config/nvim/lua/my/settings.lua index a90945b..2bae292 100644 --- a/.config/nvim/lua/my/settings.lua +++ b/.config/nvim/lua/my/settings.lua @@ -53,3 +53,4 @@ 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({})