From 8be4789cef1cef40cb2b7fb39dff41950801b6f9 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Mon, 23 Sep 2024 08:21:04 +0100 Subject: Neovim config updates --- neovim/.config/nvim/lua/config/lualine.lua | 1 + neovim/.config/nvim/lua/plugins/goyo.lua | 8 ++------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/neovim/.config/nvim/lua/config/lualine.lua b/neovim/.config/nvim/lua/config/lualine.lua index eac00d1..f2883d7 100644 --- a/neovim/.config/nvim/lua/config/lualine.lua +++ b/neovim/.config/nvim/lua/config/lualine.lua @@ -66,6 +66,7 @@ local config = { lualine_c = {}, lualine_x = {}, }, + extensions = { 'lazy', 'neo-tree' }, } -- Inserts a component in lualine_c at left section diff --git a/neovim/.config/nvim/lua/plugins/goyo.lua b/neovim/.config/nvim/lua/plugins/goyo.lua index bfe797a..3b2f57f 100644 --- a/neovim/.config/nvim/lua/plugins/goyo.lua +++ b/neovim/.config/nvim/lua/plugins/goyo.lua @@ -17,11 +17,7 @@ return { vim.opt.scrolloff = 999 vim.opt.laststatus = 0 - local gl = require('galaxyline') - local gls = gl.section - gls.left = {} - gls.mid = {} - gls.right = {} + require('lualine').hide() vim.cmd('Limelight') vim.cmd('VimRToggleFullscreen') @@ -36,7 +32,7 @@ return { vim.opt.showmode = true vim.opt.showcmd = true vim.opt.scrolloff = 5 - dofile(script_path() .. '../config/galaxyline.lua') + require('lualine').hide({unhide=true}) vim.opt.laststatus = 3 vim.cmd('Limelight!') vim.cmd('VimRToggleFullscreen') -- cgit v1.2.3