Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lua contexts were assumed to not have any variables and so the parser would expect and opening brace right after the context declaration. This of course does work with set_by_lua_block, so the fix will parse any variables before starting the Lua block. This fix is a small hack to not change NginxVariableReferece@L41 (https://github.com/Deadleg/idea-nginx/blob/6e0239cec3360de241c088660d1185b9c7821711/src/net/ishchenko/idea/nginx/psi/NginxVariableReference.java#L41) Fixes #55
- Loading branch information
Showing
4 changed files
with
73 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters