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

[Help] Issue with stylua #37

Closed
luissolanodev opened this issue Sep 27, 2021 · 4 comments
Closed

[Help] Issue with stylua #37

luissolanodev opened this issue Sep 27, 2021 · 4 comments

Comments

@luissolanodev
Copy link
Contributor

Hey! Since a few weeks I wanted to start contributing to this project by creating PR but I have an issue with rendering lua files and I think it's related to indentation with stylua, right now when I open a lua file from this project it looks like this:
image
As you can see some of the text is not visible.

I just wanted to know if you are familiar with this issue. I have editorconfig installed and stylua via cargo. I'm using gnome-terminal.

Thanks!

@pocco81
Copy link
Member

pocco81 commented Sep 28, 2021

Could you disable indent-blankline (both the plugin and the integration with Catppuccino)? I think that's the issue.

And btw, just to improve your experience with nvim, try a GPU accelerated terminal like Alacritty or Kitty ;)

@luissolanodev
Copy link
Contributor Author

That helped, now just these characters are displayed:
image
May it be something in my config?

And thanks for the recommendation, I'll do that!

@pocco81
Copy link
Member

pocco81 commented Sep 28, 2021

Those are your fillchars, that's because I use 4 spaced tabs. Similar to how you have $ for the EOL (end of line), you can set the chars used for tabs, spaces, folds, diffs, EOB (end of buffer), ... Using the fillchars.

See :help fillchars.

Edit: change the chars or remove them (which is what I did), and after that I think you could enable indent-blankline without seeing that.

@luissolanodev
Copy link
Contributor Author

Hey! I raised an issue on indent-blankline plugin to get a more in-depth explanation and help. This solved it.

Thanks for your help!

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

No branches or pull requests

2 participants