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

Command sub-directives not handled correctly #288

Open
doolio opened this issue Feb 3, 2021 · 0 comments
Open

Command sub-directives not handled correctly #288

doolio opened this issue Feb 3, 2021 · 0 comments

Comments

@doolio
Copy link

doolio commented Feb 3, 2021

Manual - command directives

Firstly, I would have expected <TAB> to indent for each sub-directive. In any case, when one adds leading whitespace as stated in the manual font-locking is applied as expected to each of the sub-directives except for the alias sub-directive of the commodity command directive. Font locking is applied to the alias sub-directive of the payee command directive and when it is used as a command directive to define an account alias.

Another issue, is when one hits RET after entering a sub-directive. This has the effect at least for me to remove the indentation of the sub-directive and font-locking is removed as one would expect for all except the alias sub-directive but that is only because it is now the command directive rather than the sub-directive. I would have expected RET to move to the next line but respect the indentation of the previous sub-directive line.

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

1 participant