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

Fix "static func" indent error #279

Merged
merged 1 commit into from
Mar 19, 2022
Merged

Conversation

OptimisticQuan
Copy link
Contributor

When declare static func and press enter key, two indents will be generated.

Fix by add "static func" pattern

@Calinou Calinou added the bug label Jun 19, 2021
@Calinou
Copy link
Member

Calinou commented Jun 19, 2021

@NathanLovato I remember hearing that this wouldn't be the proper fix (and that this should be fixed in the Godot editor LSP instead). Do I remember this correctly?

@NathanLovato
Copy link

@Calinou Indentation and coloring are independent of the language server - it's editor plugin stuff - so this seems the right fix at a glance. Just needs someone to test it.

Heyter added a commit to Heyter/godot-vscode-plugin that referenced this pull request Aug 19, 2021
@Calinou Calinou merged commit 293cc8c into godotengine:master Mar 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants