From 6ca29aabb1d44d9425adf0a7aafae50f47664c74 Mon Sep 17 00:00:00 2001 From: Simon Walker Date: Fri, 18 Aug 2023 15:37:59 +0100 Subject: [PATCH] Remove lualine It's not really needed --- home/neovim.nix | 1 - home/nvim/lua/config.lua | 1 - home/nvim/lua/lualineconfig.lua | 41 --------------------------------- 3 files changed, 43 deletions(-) delete mode 100644 home/nvim/lua/lualineconfig.lua diff --git a/home/neovim.nix b/home/neovim.nix index 71795ee7..6261e5b9 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -37,7 +37,6 @@ vim-svelte vim-terraform rust-vim - lualine-nvim papercolor-theme nvim-base16 aerial-nvim diff --git a/home/nvim/lua/config.lua b/home/nvim/lua/config.lua index 05e6973a..90cabf8e 100644 --- a/home/nvim/lua/config.lua +++ b/home/nvim/lua/config.lua @@ -23,5 +23,4 @@ require('aerialconfig') -- debugging require('dapconfig') -require('lualineconfig') require('gitsignsconfig') diff --git a/home/nvim/lua/lualineconfig.lua b/home/nvim/lua/lualineconfig.lua deleted file mode 100644 index 819033af..00000000 --- a/home/nvim/lua/lualineconfig.lua +++ /dev/null @@ -1,41 +0,0 @@ -local lualine = require('lualine') - -local lualine_c = { - { 'filename', - file_status = false, - path = 1, - } -} - -lualine.setup({ - options = { - icons_enabled = true, - theme = 'auto', - component_separators = { left = '', right = '' }, - section_separators = { left = '', right = '' }, - disabled_filetypes = {}, - always_divide_middle = true, - globalstatus = false, - refresh = { - statusline = 100, - }, - }, - sections = { - lualine_a = { 'mode' }, - lualine_b = { 'branch', 'diff' }, - lualine_c = lualine_c, - lualine_x = { 'encoding', 'filetype' }, - lualine_y = { 'progress' }, - lualine_z = { 'location' } - }, - inactive_sections = { - lualine_a = {}, - lualine_b = {}, - lualine_c = { 'filename' }, - lualine_x = { 'location' }, - lualine_y = {}, - lualine_z = {} - }, - tabline = {}, - extensions = { 'quickfix', 'fugitive' } -})