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

Syntax highlighting for longform variable names #1

Open
HariharanJayashankar opened this issue Jan 17, 2019 · 1 comment
Open

Syntax highlighting for longform variable names #1

HariharanJayashankar opened this issue Jan 17, 2019 · 1 comment

Comments

@HariharanJayashankar
Copy link

Hey,

Thanks for the package btw.

There's a small issue which I hope you can fix regarding long-form names in dynare. A code block with such a thing would look like this:

var c ${c}$ (long_name='C/A')
  y ${y}$ (long_name='Y/A')
  k ${k}$ (long_name='K/A')
  g ${g}$ (long_name='Growth Rate')
  r ${r}$ (long_name='Rate of Return on K')
  etau_k ${tau_k}$ (long_name='Capital Tax Rate');

The problem with the syntax highlighter here is that it thinks the end of each line should end with a semicolon when in fact it shouldn't. It gives the red highlight in my code whenever I do this which is annoying. Any way to fix this?

Here is a screenshot of the issue:
dynare_syntax

@Florianismeandonlyme
Copy link

so the cursor is set to be red? i thought it is some kind of reminder that tells you there's a syntax error.....

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