diff options
Diffstat (limited to 'neovim/.config/nvim/lua/plugins/statusline.lua')
| -rw-r--r-- | neovim/.config/nvim/lua/plugins/statusline.lua | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/neovim/.config/nvim/lua/plugins/statusline.lua b/neovim/.config/nvim/lua/plugins/statusline.lua index b93b34c..17741a6 100644 --- a/neovim/.config/nvim/lua/plugins/statusline.lua +++ b/neovim/.config/nvim/lua/plugins/statusline.lua | |||
| @@ -1,23 +1,5 @@ | |||
| 1 | return { | 1 | return { |
| 2 | "bling/vim-airline", | 2 | "nvim-lualine/lualine.nvim", |
| 3 | lazy = false, | 3 | dependencies = { "nvim-tree/nvim-web-devicons" }, |
| 4 | dependencies = { | 4 | opts = {}, |
| 5 | "vim-airline/vim-airline-themes", | ||
| 6 | "edkolev/tmuxline.vim", | ||
| 7 | }, | ||
| 8 | init = function() | ||
| 9 | -- On arch linux install the following: | ||
| 10 | -- otf-powerline-symbols-git | ||
| 11 | -- powerline-fonts-git | ||
| 12 | vim.g.airline_powerline_fonts = 1 | ||
| 13 | vim.g["airline#extensions#tabline#enabled"] = 1 | ||
| 14 | |||
| 15 | -- vim.g dict reads return a copy, not a live reference, so the nested | ||
| 16 | -- field has to be set via a local table and reassigned. | ||
| 17 | local symbols = vim.g.airline_symbols or {} | ||
| 18 | symbols.space = "\u{a0}" | ||
| 19 | vim.g.airline_symbols = symbols | ||
| 20 | |||
| 21 | vim.opt.laststatus = 2 | ||
| 22 | end, | ||
| 23 | } | 5 | } |
