diff options
author | HampusM <hampus@hampusmat.com> | 2024-06-01 01:18:02 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-06-01 01:18:02 +0200 |
commit | 2af06d6e050b1653bd4e085e27262738ec7da136 (patch) | |
tree | ba1ee8015584059231419dd49d4fce801c53085d | |
parent | 722eb1d2c7029085fd33c2a80efb2c1facc8cfae (diff) |
use lualine plugin
-rw-r--r-- | lua/plugins.lua | 9 | ||||
-rw-r--r-- | 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" } + } +}) |