hide tab line if < 2 tabs open
This commit is contained in:
@ -2,8 +2,12 @@ require("user.plugins")
|
||||
|
||||
require("user.themes.kanagawa")
|
||||
|
||||
require("user.bufferline")
|
||||
|
||||
|
||||
require("user.options")
|
||||
require("user.keymaps")
|
||||
|
||||
require("user.cmp")
|
||||
require("user.lsp")
|
||||
require("user.treesitter")
|
||||
@ -13,7 +17,6 @@ require("user.telescope")
|
||||
require("user.lsp_format")
|
||||
require("user.neoscroll")
|
||||
require("user.dropbar")
|
||||
require("user.bufferline")
|
||||
require("user.nvim_scrollbar")
|
||||
require("user.gitsigns")
|
||||
require("user.lualine")
|
||||
|
||||
@ -19,6 +19,8 @@ vim.opt.ttimeoutlen = 5
|
||||
|
||||
vim.g.netrw_banner = 0
|
||||
|
||||
vim.cmd("set showtabline=1")
|
||||
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "cs",
|
||||
command = "setlocal shiftwidth=4 tabstop=4"
|
||||
|
||||
@ -52,14 +52,13 @@ lazy.setup({
|
||||
-- file explorer
|
||||
{
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v2.x",
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"MunifTanjim/nui.nvim",
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"kyazdani42/nvim-tree.lua",
|
||||
dependencies = {
|
||||
|
||||
Reference in New Issue
Block a user