From 84a79e931d1304969a2cafda494025e937721c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 12 Jun 2022 21:05:03 +0100 Subject: [PATCH] add tabline --- config/programs/vim/base.lua | 4 ++++ config/programs/vim/default.nix | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config/programs/vim/base.lua b/config/programs/vim/base.lua index 54e14ca2..2a72a961 100644 --- a/config/programs/vim/base.lua +++ b/config/programs/vim/base.lua @@ -93,3 +93,7 @@ for _, lsp in pairs(servers) do } } end + +-- Initialize bufferline +vim.opt.termguicolors = true +require("bufferline").setup{} diff --git a/config/programs/vim/default.nix b/config/programs/vim/default.nix index 33659d93..0dfd5f80 100644 --- a/config/programs/vim/default.nix +++ b/config/programs/vim/default.nix @@ -22,9 +22,10 @@ in vim-airline copilot-vim rust-vim # for proper syntax highlighting - tabline-nvim nvim-lspconfig vim-gitgutter + nvim-web-devicons + bufferline-nvim ]; }; xdg.configFile."nvim/lua/base.lua".source = ./base.lua;