plugins/comment: Add commenttype for the filetype asm#3694
plugins/comment: Add commenttype for the filetype asm#3694JoeKar wants to merge 1 commit intomicro-editor:masterfrom
commenttype for the filetype asm#3694Conversation
|
The line comment character varies between different assemblers and target architectures. 1
It seems the syntax file is made with only NASM in mind so maybe it's fine to only care about that, but I figured I should at least point it out. Footnotes |
|
@dmaluka pointed out the same in #3693 (comment).
With explicit only this comment style: |
|
Yeah I just noticed, I started looking into it before that comment was made 😅 |
|
When it comes to syntax highlighting for asm, FWIW vim highlights all common variants at the same time: https://github.com/vim/vim/blob/master/runtime/syntax/asm.vim#L75. Perhaps we should do the same. So many I opened an asm file in micro and experienced utterly broken highlighting, like this: but I've always been too lazy to look what exactly is broken. |
String region started with |
|
I know, the point is that highlighting |
|
Agree. So we keep it short and close this PR? A workaround for #3693 is given via |
|
I'd be fine with either merging or not merging it... |
|
Ok, then we keep it as is. |

Fixes #3693