Error executing lua [string ":lua"]:1: attempt to index a boolean value
alvarogalloc opened this issue · comments
Alvaro Gallo commented
I get this error always when loading neovim:
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)
No commented
I ran into the same problem.