From e603176927efd3b206a31796bf5ae677b33c6765 Mon Sep 17 00:00:00 2001 From: Joost Agterhoek Date: Thu, 22 Aug 2024 10:28:22 +0200 Subject: [PATCH] forgot to turn nerd fonts on! Thank god for meld --- init.lua | 12 +++++++++++- lua/custom/plugins/barbar.lua | 3 +++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index b748ab7..56df1cd 100644 --- a/init.lua +++ b/init.lua @@ -1,3 +1,13 @@ +-- TESTING REGION +-- from https://github.com/nvim-tree/nvim-tree.lua?tab=readme-ov-file#setup +vim.g.loaded_netrw = 1 +vim.g.loaded_netrwPlugin = 1 +vim.opt.termguicolors = true +-- To make sure image.nvim works with luarocks +package.path = package.path .. ';' .. vim.fn.expand '$HOME' .. '/.luarocks/share/lua/5.1/?/init.lua;' +package.path = package.path .. ';' .. vim.fn.expand '$HOME' .. '/.luarocks/share/lua/5.1/?.lua' +-- END OF TESTING REGION + --[[ ===================================================================== @@ -91,7 +101,7 @@ vim.g.mapleader = ' ' vim.g.maplocalleader = ' ' -- Set to true if you have a Nerd Font installed and selected in the terminal -vim.g.have_nerd_font = false +vim.g.have_nerd_font = true -- [[ Setting options ]] -- See `:help vim.opt` diff --git a/lua/custom/plugins/barbar.lua b/lua/custom/plugins/barbar.lua index 6546028..6089b61 100644 --- a/lua/custom/plugins/barbar.lua +++ b/lua/custom/plugins/barbar.lua @@ -1,5 +1,8 @@ return { 'romgrk/barbar.nvim', + dependencies = { + 'nvim-tree/nvim-web-devicons', + }, config = function() require('barbar').setup() vim.keymap.set('n', '', ':BufferNext', { silent = true })