nvim: replace luatab with nvim-tabline

This commit is contained in:
PowerUser64 2022-02-06 22:13:22 -08:00
parent d576705d51
commit 9a04036778

View file

@ -42,9 +42,9 @@ return require('packer').startup({function()
config = function() config = function()
-- vim.g.onedark_transparent_background = true -- vim.g.onedark_transparent_background = true
vim.cmd [[ 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 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 colorscheme onedark
]] ]]
end end
@ -59,16 +59,15 @@ return require('packer').startup({function()
require('blake.other').lualine() require('blake.other').lualine()
end, end,
} }
use { -- tabline use { -- nvim-tabline
'alvarosevilla95/luatab.nvim', 'seblj/nvim-tabline',
requires = 'kyazdani42/nvim-web-devicons', requires = 'kyazdani42/nvim-web-devicons',
config = function() config = function()
-- vim.cmd [[ require('tabline').setup {
-- exec('au ColorScheme gruvbox hi TabLine gui=none guibg=' . $color01 . ' guifg=' . $color03) -- Disable icons (and clickable buttons)
-- exec('au ColorScheme gruvbox hi TabLineSel guibg=' . $color01 . ' guifg=' . $color06) modified_icon = '',
-- exec('au ColorScheme gruvbox hi TabLineFill guibg=' . $color01) close_icon = '',
-- ]] }
require('luatab').setup {}
end end
} }
use { -- css color tag highlighter (ex: #FFB13B) use { -- css color tag highlighter (ex: #FFB13B)
@ -139,8 +138,8 @@ return require('packer').startup({function()
config = function() config = function()
vim.g.ale_disable_lsp = 1 vim.g.ale_disable_lsp = 1
end end
}
}
---- DAP (Debug Adapter Protocol) ---- DAP (Debug Adapter Protocol)
use { -- nvim-dap: DAP support use { -- nvim-dap: DAP support
'mfussenegger/nvim-dap', 'mfussenegger/nvim-dap',