From 2af06d6e050b1653bd4e085e27262738ec7da136 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 1 Jun 2024 01:18:02 +0200 Subject: use lualine plugin --- lua/plugins.lua | 9 +++++++-- lua/style.lua | 10 ++++++++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index fba0847..3cbda43 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -30,8 +30,13 @@ return require("packer").startup(function(use) } use { - "vim-airline/vim-airline", - commit = "16c1638f93f93fad41da8cb6eef2bcd8eed0a57a" + "nvim-tree/nvim-web-devicons", + commit = "b77921fdc44833c994fdb389d658ccbce5490c16" + } + + use { + "nvim-lualine/lualine.nvim", + commit = "0a5a66803c7407767b799067986b4dc3036e1983", } use { diff --git a/lua/style.lua b/lua/style.lua index ec06d8e..7e329b5 100644 --- a/lua/style.lua +++ b/lua/style.lua @@ -10,6 +10,12 @@ require('ayu').setup({ vim.cmd("colorscheme ayu-dark") -vim.g["airline#extensions#tabline#enabled"] = 1 -vim.g["airline#extensions#tabline#formatter"] = "unique_tail_improved" +require('lualine').setup({ + options = { + theme = 'ayu', + }, + tabline = { + lualine_a = { "buffers" } + } +}) -- cgit v1.2.3-18-g5258