mirror of
https://github.com/vale981/python-docstring-mode
synced 2025-03-05 09:31:43 -05:00
support raw r""" syntax for docstrings
This commit is contained in:
parent
cede45a6e8
commit
5068940366
1 changed files with 4 additions and 1 deletions
|
@ -19,8 +19,11 @@
|
|||
(throw 'not-a-string nil))))
|
||||
(string-start (+ (goto-char (nth 8 syx))
|
||||
3))
|
||||
(rawchar (if (eql (char-before (point)) ?r)
|
||||
1
|
||||
0))
|
||||
;; at the beginning of the screen here
|
||||
(indent-count (- (- string-start 3)
|
||||
(indent-count (- (- string-start (+ rawchar 3))
|
||||
(save-excursion
|
||||
(beginning-of-line)
|
||||
(point))))
|
||||
|
|
Loading…
Add table
Reference in a new issue