diff --git a/lua/core/plugins/init.lua b/lua/core/plugins/init.lua index 54fb2800..3310ae7c 100644 --- a/lua/core/plugins/init.lua +++ b/lua/core/plugins/init.lua @@ -66,13 +66,21 @@ local plugins = { { -- Set lualine as statusline 'nvim-lualine/lualine.nvim', - -- See `:help lualine.txt` + dependencies = { 'nvim-tree/nvim-web-devicons' }, opts = { options = { - icons_enabled = true, theme = 'dracula', - component_separators = '|', - section_separators = { left = '', right = '' }, + globalstatus = true, + }, + sections = { + lualine_c = { + { + 'filename', + path = 1, + }, + }, + lualine_x = { 'fileformat', 'filetype' }, + lualine_y = {}, }, }, }, diff --git a/lua/core/plugins/nvim-ufo.lua b/lua/core/plugins/nvim-ufo.lua index 9c5215d3..e1334673 100644 --- a/lua/core/plugins/nvim-ufo.lua +++ b/lua/core/plugins/nvim-ufo.lua @@ -78,11 +78,14 @@ return { require("ufo").setup(newOpts) + -- NOTE Uncommnt this to apply folds when opening a file + --[[ vim.api.nvim_create_autocmd('BufWinEnter', { pattern = '*', callback = function(e) applyFoldsAndThenCloseAllFolds(e.buf, 'lsp') end }) + --]] end, }