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

First word in a string highlighted as a keyword in Clojure #24603

Closed
vadim0x60 opened this issue Apr 12, 2017 · 2 comments
Closed

First word in a string highlighted as a keyword in Clojure #24603

vadim0x60 opened this issue Apr 12, 2017 · 2 comments
Assignees
Labels
languages-basic Basic language support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@vadim0x60
Copy link

vadim0x60 commented Apr 12, 2017

  • VSCode Version: Code 1.11.1 (d9484d1, 2017-04-06T13:55:56.395Z)
  • OS Version: Linux x64 4.4.0-67-generic
  • Extensions:
Extension Author Version
javadebugger donjayamanne 0.0.2
python donjayamanne 0.6.0
cpptools ms-vscode 0.10.5

Steps to Reproduce:

  1. Create a .clj or .edn file
  2. Paste this:
    screenshot from 2017-04-12 17 22 52

For some reason, "Word is treated as a keyword, therefore this and all further strings in a file are not highlighted as strings (but spaces between them are).

@vadim0x60
Copy link
Author

I guess the syntax highlighter treats all unescaped ( '() ) lists as function calls, but that's actually not the case in Clojure: inside macros or in .edn data files lists can be just that: lists.

@mjbvz mjbvz self-assigned this Apr 12, 2017
@mjbvz mjbvz added languages-basic Basic language support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Apr 12, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Apr 12, 2017

Seems like an issue in the Clojure grammar. Opened atom/language-clojure#63 to track the problem

Closing as upstream

@mjbvz mjbvz closed this as completed Apr 12, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
languages-basic Basic language support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants