diff options
| author | Evgeny Kurnevsky <kurnevsky@gmail.com> | 2019-04-15 20:39:05 +0300 |
|---|---|---|
| committer | Evgeny Kurnevsky <kurnevsky@gmail.com> | 2019-04-15 20:39:05 +0300 |
| commit | d432409bdc210ec3fca8f5cf778bcf6814f5b121 (patch) | |
| tree | 2c5d7d281e565a01482fc16e455a2ccd711670ce /rust-mode.el | |
| parent | a871d108c745276e93ff1dec7c65e2e5a57e6d8c (diff) | |
| download | rust-mode-d432409bdc210ec3fca8f5cf778bcf6814f5b121.tar.gz | |
Don't insert string delimiter inside strings.
Diffstat (limited to 'rust-mode.el')
| -rw-r--r-- | rust-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el index 4ded41a..1d88f82 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -1137,7 +1137,7 @@ raw string, or to END, whichever comes first." (rust--char-literal-rx (1 "\"") (2 "\"")) ;; Raw strings. ("\\(r\\)#*\"" - (1 (prog1 "|" + (1 (prog1 (if (nth 8 (syntax-ppss (match-beginning 0))) nil (string-to-syntax "|")) (goto-char (match-end 0)) (rust--syntax-propertize-raw-string end)))) ("[<>]" |
