New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help: could not install Tabby properly #10
Comments
In the first image, the nerd font does not display correctly. You need a nerd font patched font: https://github.com/ryanoasis/nerd-fonts In the second image, something may be wrong. Can you type command |
Hi, nanozuki, thanks for helping me! Second image: this just happens after restarting Neovim - for some reason Tabby is not shown after restart. No error messages are shown. Here is a short video: require('packer').startup(function()
use 'wbthomason/packer.nvim' -- Packer can manage itself
use {
"nanozuki/tabby.nvim",
requires = "kyazdani42/nvim-web-devicons",
config = function() require("tabby").setup() end,
}
end) Is this code enough to show Tabby or I should explicitly call it somewhere else? |
Are you able to reproduce the issue with a -- Open with `nvim --clean -u minimal_init.lua`
local install_path = "/tmp/nvim/site/pack/packer/start/packer.nvim"
local compile_path = install_path .. "/plugin/packer_compiled.lua"
vim.opt.packpath = "/tmp/nvim/site"
local function load_plugins()
local packer = require("packer")
local use = packer.use
packer.reset()
packer.init({ compile_path = compile_path, package_root = "/tmp/nvim/site/pack" })
use("wbthomason/packer.nvim")
use({
"edeneast/nightfox.nvim", -- Adding some sort of colorscheme
config = function()
vim.cmd("colorscheme nightfox")
end,
})
use({
"nanozuki/tabby.nvim",
requires = "kyazdani42/nvim-web-devicons",
after = "nightfox.nvim",
config = function()
require("tabby").setup()
end,
})
packer.sync()
end
_G.load_config = function() end
if vim.fn.isdirectory(install_path) == 0 then
vim.fn.system({ "git", "clone", "--depth=1", "https://github.com/wbthomason/packer.nvim", install_path })
end
load_plugins()
vim.cmd([[autocmd User PackerComplete ++once echo "Ready!" | lua load_config()]]) |
Hey, that's it! @EdenEast, thanks for pointing me.
@nanozuki, is Tabby not compatible with statusline plugins? |
I know it works with statuslines like feline.nvim and lualine (current maintained fork). Looking at lightline it looks like it does the tabline as well. They are conflicting. |
In nvim, the tabline is a global option. So you can only use set one tabline, and two tabline plugins will conflict. I read the |
Hi @VKondakoff , I know this is an old issue, but here I go, You can disable the vim.g.lighline = {
...other_options,
enable = { tabline = 0 },
} |
Hi!
I'm trying to install Tabby using the instructions (macOS, iTerm2, Neovim nightly, Packer).
Here is what I see after running
:PackerInstall
and:PackerCompile
:And here is what I see after restarting Neovim:
What am I doing wrong? (Quite a newbie here.)
Thanks!
The text was updated successfully, but these errors were encountered: