nvim: replace luatab with nvim-tabline
This commit is contained in:
parent
d576705d51
commit
9a04036778
1 changed files with 10 additions and 11 deletions
|
@ -42,9 +42,9 @@ return require('packer').startup({function()
|
|||
config = function()
|
||||
-- vim.g.onedark_transparent_background = true
|
||||
vim.cmd [[
|
||||
au ColorScheme onedark hi TabLine gui=none guibg='#282C34' guifg='#5C6370' " all tabs color
|
||||
"au ColorScheme onedark hi TabLine gui=none guibg='#282C34' guifg='#5C6370' " all tabs color
|
||||
au ColorScheme onedark hi TabLineSel guibg='#282C34' guifg='#B5BBC7' " Highlighted tab color
|
||||
au ColorScheme onedark hi TabLineFill guibg='#282C34' " tabline portion without tabs (right-hand side)
|
||||
"au ColorScheme onedark hi TabLineFill guibg='#282C34' " tabline portion without tabs (right-hand side)
|
||||
colorscheme onedark
|
||||
]]
|
||||
end
|
||||
|
@ -59,16 +59,15 @@ return require('packer').startup({function()
|
|||
require('blake.other').lualine()
|
||||
end,
|
||||
}
|
||||
use { -- tabline
|
||||
'alvarosevilla95/luatab.nvim',
|
||||
use { -- nvim-tabline
|
||||
'seblj/nvim-tabline',
|
||||
requires = 'kyazdani42/nvim-web-devicons',
|
||||
config = function()
|
||||
-- vim.cmd [[
|
||||
-- exec('au ColorScheme gruvbox hi TabLine gui=none guibg=' . $color01 . ' guifg=' . $color03)
|
||||
-- exec('au ColorScheme gruvbox hi TabLineSel guibg=' . $color01 . ' guifg=' . $color06)
|
||||
-- exec('au ColorScheme gruvbox hi TabLineFill guibg=' . $color01)
|
||||
-- ]]
|
||||
require('luatab').setup {}
|
||||
require('tabline').setup {
|
||||
-- Disable icons (and clickable buttons)
|
||||
modified_icon = '',
|
||||
close_icon = '',
|
||||
}
|
||||
end
|
||||
}
|
||||
use { -- css color tag highlighter (ex: #FFB13B)
|
||||
|
@ -139,8 +138,8 @@ return require('packer').startup({function()
|
|||
config = function()
|
||||
vim.g.ale_disable_lsp = 1
|
||||
end
|
||||
}
|
||||
|
||||
}
|
||||
---- DAP (Debug Adapter Protocol)
|
||||
use { -- nvim-dap: DAP support
|
||||
'mfussenegger/nvim-dap',
|
||||
|
|
Loading…
Add table
Reference in a new issue