-
Notifications
You must be signed in to change notification settings - Fork 32
Question: docs/tips for syntax highlighting? #59
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
Comments
I use vim for everything, so I wouldn't know.
Eslisp's syntax is pretty much identical to Scheme, so I imagine modifying a Scheme highlighter would be the easiest option. I'm sure the source or such a highlighter has a list of standard forms somewhere, which could just be changed to correspond to eslisp's built-in macros instead. If you want to make it, please do. I think it would be best in a separate repo, to separate concerns.
I agree! It could go under |
And which highlighting rules/package do you use in vim then? The one for Scheme? |
@branneman Yep. autocmd BufEnter *.esl set filetype=scheme Though I use that less for the highlighting, and more for how it changes the rules of vim's built-in autoformat command (
The more compact style it uses with no
|
Uh oh!
There was an error while loading. Please reload this page.
Which VS Code extension to you recommend to use for eslisp? I started using Lisp by Yasuhiro Matsumoto, but I'm unsure if better ones are available. What are your thoughts on this?
I think it adds value to recommend an existing VS Code extension in the readme or the docs. Why single out VS Code? Because it's the biggest one out there (especially in the JS community), and it's not a bad choice. (source)
Ideally, a specific eslisp syntax highlighter extension is created, but that would be a significant undertaking, and I can imagine you may have already had thoughts about this?
The text was updated successfully, but these errors were encountered: