Skip to content
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

[bug] render bug #88

Closed
cossonleo opened this issue Aug 8, 2020 · 10 comments · Fixed by #89
Closed

[bug] render bug #88

cossonleo opened this issue Aug 8, 2020 · 10 comments · Fixed by #89

Comments

@cossonleo
Copy link

It get error when I open tree
E5108: Error executing lua .../.config/nvim/plugged/nvim-tree.lua/lua/lib/renderer.lua:271: Expected lua string

@kosayoda
Copy link
Contributor

kosayoda commented Aug 8, 2020

Hello, I am getting this error too. May I know why you closed this issue?

@kyazdani42
Copy link
Member

not sure why this would happen, can i have more informations please ?

@braidn
Copy link

braidn commented Aug 10, 2020

@kyazdani42 seeing this as well. The steps for me to reproduce it are:

  1. Open a directory using: nv .
  2. Toggle nvim-tree.lua using 'LuaTreeToggle`
  3. Sometimes just toggling the tree will throw the error or sometimes I need to:
  4. Open a folder in the tree.

Hopefully this helps.

@kyazdani42 kyazdani42 reopened this Aug 10, 2020
@kyazdani42
Copy link
Member

kyazdani42 commented Aug 10, 2020

this doesn't help much, i'd need something like a minimal vimrc you can reproduce the error with, and a list of filename maybe.

@braidn
Copy link

braidn commented Aug 10, 2020

i'd need something like a minimal vimrc you can reproduce the error with, and a list of filename maybe.

Sure! By list of filenames you mean included plugins?

@kyazdani42
Copy link
Member

Nope, the list of filenames from the folder where the bug arise.

@braidn
Copy link

braidn commented Aug 11, 2020

current vimrc: https://gist.github.com/braidn/a1a389377e81f4c8d86d97bfcf6d08c9

List of filenames and Folders from a directory:

app
bin
config
config.ru
db
development.env
docker-compose.yml
Dockerfile
docs
Gemfile
Gemfile.lock
log
ops
public
Rakefile
README.md
spec
test.env
tmp

@kyazdani42
Copy link
Member

this issue arise when you disable the folder icon. I'm going to look into this

@braidn
Copy link

braidn commented Aug 11, 2020

this issue arise when you disable the folder icon. I'm going to look into this

Amazing! I actually never got the folder icon to show up quite correct. It's likely due to the font. Although it does work for some reason with file icons?

@kyazdani42
Copy link
Member

maybe your fonts don't display some icons. And some terminals have bad issues with font rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants