Skip to content

Commit b20f7d0

Browse files
authored
Merge pull request #769 from jabranham/fix-apostraph-in-ess
Fix apostrophe in ESS comments
2 parents 1d4e912 + 1e75b78 commit b20f7d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smartparens-ess.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ ID, ACTION, CONTEXT."
161161
:pre-handlers '(sp-ess-pre-handler)
162162
:post-handlers '((sp-ess-open-sexp-indent "M-j")))
163163
(sp-local-pair "'" nil
164-
:unless '(sp-ess-roxy-str-p)))
164+
:unless '(sp-ess-roxy-str-p sp-in-comment-p sp-in-string-quotes-p)))
165165

166166
;;; roxygen2 markup
167167
;; see https://cran.r-project.org/web/packages/roxygen2/vignettes/formatting.html

0 commit comments

Comments
 (0)