Repository navigation
nix-mode: set syntax and font properties for multiline strings - #870
Conversation
|
This patch still isn't quite right; it doesn't correctly handle the following: I didn't want to deal with antiquotation yet because it's significantly more difficult, but it appears I have no choice. |
|
This is ready to merge now. Syntax is set correctly for multiline strings. Antiquotation is detected and syntax highlighting works correctly inside. |
|
cc @edolstra |
|
cc @peti |
|
Antiquotation doesn't seem to work quite right in non-multiline strings. Try |
Yes, I realized this shortly after this PR was merged!There doesn't seem to be a way in Emacs to pair |
|
Sounds like a good plan to me! |
This fixes the long-standing bug in
nix-mode.elwhere'' /* ''would be treated as an opening string delimiter followed by a comment, rather than/*encased between string delimiters.