When using startup.nvim with Goyo.vim it shows a weird tab bar.
Checklist
[X] Checked if issue already exists; searched for Goyo
[X] I'm using the latest startup.nvim version
To Reproduce
Steps to reproduce the behavior:
Install both startup.nvim and goyo.vim
Start vim
Create a new empty file from within the start page (:e)
Turn on Goyo: :Goyo
Notice distracting tab bar
Expected behavior
Full distraction free writing without tab bar after turning on Goyo
Note: I have no idea if this is a startup.nvim or goyo.vim issue. Also I am a Vim newb.
Screenshots
(Tested in both terminal nvim and with Neovide)
New file, before turning on Goyo.
After turning on Goyo.
Additional InfoConfig
Basically the README config.
mind3 = {
"⠀⠀⠀⣀⡀⠀⣼⣷⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠐⠿⣿⣾⣿⣿⣄⣀⣶⡄⠀⢀⣀⠀⠀⣾⡗⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⣀⣴⣿⣿⣿⣿⣿⣿⠟⠋⠀⣼⣿⣿⣿⣿⣷⣾⠿⣷⣿⣦⠀⠀⠀⠀⠀⠀",
"⠀⠀⠙⢿⠋⠹⣿⣿⢿⣧⡄⠀⠀⠈⠉⢻⣿⣿⣿⣇⠿⠶⣿⣿⣧⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⢾⣿⠇⠀⠛⠁⠀⠀⢺⣷⣿⣿⣿⣿⣿⣿⣗⣿⣿⣿⣇⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⢀⡀⠀⠐⣿⣇⣀⣠⡄⣶⣿⢺⣯⢶⣶⡏⣼⣿⣿⣿⣿⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⢟⣛⣸⣿⣷⣶⣿⣿⡸⡻⣿⣿⣿⣏⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⢀⣀⣿⣿⣿⣿⣿⡸⠿⣿⣿⣿⣿⣿⣿⢿⢟⣼⣿⣿⣿⣆⠀⠀⠀",
"⠀⠀⠀⠀⠀⢸⡿⠿⠿⣿⡿⠿⣿⡟⣼⣿⢫⣭⢻⣿⡜⣿⣿⣿⣿⣿⣿⣧⠀⠀",
"⠀⠀⠀⠀⠀⠀⢺⣿⣕⠿⢇⣿⣶⣦⣭⣛⣹⣿⣜⣯⣵⣿⣿⣿⣿⣿⡟⠉⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡗⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⢀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
"⠀⠀⠀⠀⠀⠀⠀⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
}
local s1 = {
-- "text" -> text that will be displayed
-- "mapping" -> create mappings for commands that can be used
-- use mappings.execute_command on the commands to execute
-- "oldfiles" -> display oldfiles (can be opened with mappings.open_file/open_file_split)
type = "text", -- can be mappings or oldfiles
oldfiles_directory = false, -- if the oldfiles of the current directory should be displayed
align = "center", -- "center", "left" or "right"
fold_section = false, -- whether to fold or not
title = "title", -- title for the folded section
-- if < 0 fraction of screen width
-- if > 0 numbers of column
margin = 5, -- the margin for left or right alignment
-- type of content depends on `type`
-- "text" -> a table with string or a function that requires a function that returns a table of strings
-- "mapping" -> a table with tables in the format:
-- {
-- {<displayed_command_name>, <command>, <mapping>}
-- {<displayed_command_name>, <command>, <mapping>}
-- }
-- e.g. {" Find File", "Telescope find_files", "<leader>ff" }
-- "oldfiles" -> ""
content = mind3,
highlight = "String", -- highlight group in which the section text should be highlighted
default_color = "#FF0000", -- a hex color that gets used if you don't specify `highlight`
oldfiles_amount = 5, -- the amount of oldfiles to be displayed
}
local settings = {
section_1 = s1,
--section_2 = <section> -- as much sections as you like
options = {
mapping_keys = true, -- display mapping (e.g. <leader>ff)
-- if < 0 fraction of screen width
-- if > 0 numbers of column
cursor_column = 0.5,
--after = function() -- function that gets executed at the end
--<lua commands>
--end
empty_lines_between_mappings = true, -- add an empty line between mapping/commands
disable_statuslines = true, -- disable status-, buffer- and tablines
paddings = {1,2}, -- amount of empty lines before each section (must be equal to amount of sections)
},
mappings = {
execute_command = "<CR>",
open_file = "o",
open_file_split = "<c-o>",
open_section = "<TAB>",
open_help = "?",
},
colors = {
background = "#1f2227",
folded_section = "#56b6c2", -- the color of folded sections
-- this can also be changed with the `StartupFoldedSection` highlight group
},
--parts = {"section_1", "section_2"} -- all sections in order
parts = {"section_1" },
}
return settings
Describe the bug
When using
startup.nvim
with Goyo.vim it shows a weird tab bar.Checklist
Goyo
To Reproduce Steps to reproduce the behavior:
startup.nvim
andgoyo.vim
:e
):Goyo
Expected behavior
Full distraction free writing without tab bar after turning on Goyo
Note: I have no idea if this is a
startup.nvim
orgoyo.vim
issue. Also I am a Vim newb.Screenshots
(Tested in both terminal
nvim
and with Neovide)New file, before turning on Goyo.
After turning on Goyo.
Additional Info Config
Basically the README config.
Neovim Version