nvimdev / galaxyline.nvim

neovim statusline plugin written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error executing lua [string ":lua"]:1: attempt to index a boolean value

alvarogalloc opened this issue · comments

I get this error always when loading neovim:

Screen Shot 2021-06-11 at 0 09 42
My neovim version is: NVIM v0.5.0-dev+1391-g1df8a34a7
My plugins.lua:

local execute = vim.api.nvim_command
local fn = vim.fn

local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'

if fn.empty(fn.glob(install_path)) > 0 then
  fn.system({'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path})
  execute 'packadd packer.nvim'
end

return require('packer').startup(function()
  -- Packer can manage itself
  use 'wbthomason/packer.nvim'

  --git
  use {"lewis6991/gitsigns.nvim"}

  -- Tree
  use {"kyazdani42/nvim-tree.lua"}

  --Tresitter
  use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'}

  use {
  'glepnir/galaxyline.nvim',
    branch = 'main',
    config = function() require'my_statusline' end,
    requires = {'kyazdani42/nvim-web-devicons', opt = true}
}
  -- Theme
  use 'glepnir/zephyr-nvim'
end)
commented

I ran into the same problem.