diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | init.lua | 1 | ||||
-rw-r--r-- | lua/user/lualine.lua | 17 | ||||
-rw-r--r-- | lua/user/plugins.lua | 6 | ||||
-rw-r--r-- | lua/user/session-manager.lua | 2 |
5 files changed, 22 insertions, 8 deletions
@@ -17,8 +17,8 @@ and [Lunar vim](https://github.com/LunarVim/LunarVim) I manager plugins with packer. Plugins I use: -- vim-airline, -- nvim-tree , +- lualine, +- nvim-tree, - nvim-cmp with additions, - cmp_luasnip, - nvim-lspconfig, @@ -2,6 +2,7 @@ require "user.plugins" -- Specific configuration for those plugins +require "user.lualine" require "user.cmp" require "user.lsp" require "user.treesitter" diff --git a/lua/user/lualine.lua b/lua/user/lualine.lua new file mode 100644 index 0000000..1bfec63 --- /dev/null +++ b/lua/user/lualine.lua @@ -0,0 +1,17 @@ + +local status_ok, lualine = pcall(require, "lualine") +if not status_ok then + return +end + +lualine.setup { + sections = { + lualine_c = { + { + 'filename', + path=1, + file_status=false, + }, + }, + } +} diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua index 84b05ff..b3a5aa0 100644 --- a/lua/user/plugins.lua +++ b/lua/user/plugins.lua @@ -40,11 +40,7 @@ return packer.startup(function(use) use "nvim-lua/popup.nvim" use "nvim-lua/plenary.nvim" - use "vim-airline/vim-airline" - use "vim-airline/vim-airline-themes" - -- use "itchyny/lightline.vim" - -- use "preservim/nerdtree" - -- use "tiagofumo/vim-nerdtree-syntax-highlight" + use "nvim-lualine/lualine.nvim" use "kyazdani42/nvim-tree.lua" use "kyazdani42/nvim-web-devicons" use "ryanoasis/vim-devicons" diff --git a/lua/user/session-manager.lua b/lua/user/session-manager.lua index c23b721..874c27c 100644 --- a/lua/user/session-manager.lua +++ b/lua/user/session-manager.lua @@ -9,4 +9,4 @@ session_manager.setup({ autoload_mode = require("session_manager.config").AutoloadMode.Disabled, }) -vim.cmd('autocmd User SessionLoadPost lua require"nvim-tree".toggle(false, true)') +-- vim.cmd('autocmd User SessionLoadPost lua require"nvim-tree".toggle(false, true)') |