summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Ball <michael.ball@krotosaudio.com>2024-09-23 08:21:04 +0100
committerMichaël Ball <michael.ball@krotosaudio.com>2024-09-23 08:21:04 +0100
commit8be4789cef1cef40cb2b7fb39dff41950801b6f9 (patch)
tree50a4383f8ddbf08c009ddcbc51876488dc9e1dc1
parent04d47e8b5b990fac69a648dfd98027d442f663b4 (diff)
Neovim config updates
-rw-r--r--neovim/.config/nvim/lua/config/lualine.lua1
-rw-r--r--neovim/.config/nvim/lua/plugins/goyo.lua8
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')