[Github-comments] [geany] Updated Rust keywords + indentation defaults (#595)
est31
notifications at xxxxx
Wed Feb 17 11:22:25 UTC 2016
Another thing syntax highlighters mistake about rust is its support for nested block comments.
For example take this code:
```Rust
/*
/*
inner
*/
interesting
*/
```
`interesting` here is commented out, because its still "inside" the outer comment boundary.
Same code rendered as C++:
```C++
/*
/*
inner
*/
interesting
*/
```
`interesting` here gets read like normal code. C++ parses, like C, from the first occurence of `/*` to the first occurence of `*/`.
I wonder, can geany cope with this? I don't use geany, so I can't test. I just know that the text editor I use (kate) has that precise problem.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/595#issuecomment-185159810
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160217/6d13b807/attachment.html>
More information about the Github-comments
mailing list