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

<list expr> or NixTokenType.] expected #4

Closed
hectorj opened this issue Jun 24, 2017 · 1 comment
Closed

<list expr> or NixTokenType.] expected #4

hectorj opened this issue Jun 24, 2017 · 1 comment

Comments

@hectorj
Copy link

hectorj commented Jun 24, 2017

Hi!

I have this line in a set: networking.firewall.allowedTCPPorts = [ 8080 ]; and it's being highlighted as this syntax error: <list expr> or NixTokenType.] expected, got '8080'.

But nix-ops consumes the file without any issue, which makes me say it is valid syntax.

Plugin version: 0.2.0.1
IDE: Goglang 1.0 EAP

@pSub
Copy link
Member

pSub commented Jun 26, 2017

I have some syntax fixes in the pipeline. I will check if they fix your problem too and try to prepare a PR.

grahamc added a commit that referenced this issue Jul 26, 2017
Allow literals as list expressions, fixes #4
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