Customize tabline

This commit is contained in:
Alexander Gehrke 2023-08-23 13:25:45 +02:00
parent 6e1060fbaf
commit 8242bdd4c4
3 changed files with 27 additions and 6 deletions

View file

@ -1,3 +1,7 @@
local function ts_disable(_, bufnr)
return vim.api.nvim_buf_line_count(bufnr) > 5000
end
return {
{
"nvim-treesitter/nvim-treesitter",
@ -32,7 +36,7 @@ return {
},
---@type TSConfig
opts = {
highlight = { enable = true },
highlight = { enable = true, disable = ts_disable },
indent = { enable = true },
ensure_installed = {
"bash",