diff options
author | Franciszek Malinka <franciszek.malinka@gmail.com> | 2022-04-16 23:23:58 +0200 |
---|---|---|
committer | Franciszek Malinka <franciszek.malinka@gmail.com> | 2022-04-16 23:23:58 +0200 |
commit | 5c4b6d9ec477a9606da5949f448661a7a8e7dfea (patch) | |
tree | 178a1befc058b335a2505d7c08cec701dda26b9f /lua | |
parent | 32b0a901fd7483b0f501a0236c3f6ed857ac86fc (diff) |
Switched to lualine
Diffstat (limited to 'lua')
-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 |
3 files changed, 19 insertions, 6 deletions
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)') |