Browse Source

statusline updates

imac
Juni Kim 2 years ago
parent
commit
a13d58101b
  1. 5
      after/plugin/lastplace.lua
  2. 2
      after/plugin/lualine.lua
  3. 8
      lua/junikim/packer.lua

5
after/plugin/lastplace.lua

@ -0,0 +1,5 @@
require 'nvim-lastplace'.setup {
lastplace_ignore_buftype = { "quickfix", "nofile", "help" },
lastplace_ignore_filetype = { "gitcommit", "gitrebase", "svn", "hgcommit" },
lastplace_open_folds = true
}

2
after/plugin/lualine.lua

@ -35,7 +35,7 @@ require('lualine').setup {
lualine_c = { 'filename' }, lualine_c = { 'filename' },
lualine_x = { 'encoding', 'fileformat', 'filetype' }, lualine_x = { 'encoding', 'fileformat', 'filetype' },
lualine_y = { getWords }, lualine_y = { getWords },
lualine_z = { 'location' }
lualine_z = { [[require'lsp-status'.status()]] }
}, },
inactive_sections = { inactive_sections = {
lualine_a = {}, lualine_a = {},

8
lua/junikim/packer.lua

@ -19,10 +19,14 @@ return require('packer').startup(function(use)
) )
use 'nvim-tree/nvim-web-devicons' use 'nvim-tree/nvim-web-devicons'
use { 'romgrk/barbar.nvim', wants = 'nvim-web-devicons' } use { 'romgrk/barbar.nvim', wants = 'nvim-web-devicons' }
use { use {
'nvim-lualine/lualine.nvim', 'nvim-lualine/lualine.nvim',
requires = { 'kyazdani42/nvim-web-devicons', opt = true }
requires = { { 'kyazdani42/nvim-web-devicons', opt = true },
'nvim-lua/lsp-status.nvim'
}
} }
use 'vim-airline/vim-airline-themes' use 'vim-airline/vim-airline-themes'
use 'tpope/vim-fugitive' use 'tpope/vim-fugitive'
@ -58,4 +62,6 @@ return require('packer').startup(function(use)
}, },
tag = 'nightly' -- optional, updated every week. (see issue #1193) tag = 'nightly' -- optional, updated every week. (see issue #1193)
} }
use 'ethanholz/nvim-lastplace'
end) end)
Loading…
Cancel
Save