glyph / python-docstring-mode

Emacs minor-mode for editing Python docstrings.
MIT License
70 stars 22 forks source link

Using python-docstring- prefix consistently is not done yet? #6

Closed berhoel closed 2 years ago

berhoel commented 9 years ago

Setting python-docstring-keywords still uses old names for the regexps:

(defvar python-docstring-keywords
  `((,docstring-field-with-arg-re 1 font-lock-type-face t)
    (,docstring-field-with-arg-re 2 font-lock-function-name-face t)
    (,docstring-field-no-arg-re 1 font-lock-type-face t)

    ;; :foo:`bar`

etc. should be

(defvar python-docstring-keywords
  `((,python-docstring-field-with-arg-re 1 font-lock-type-face t)
    (,python-docstring-field-with-arg-re 2 font-lock-function-name-face t)
    (,python-docstring-field-no-arg-re 1 font-lock-type-face t)

    ;; :foo:`bar`
orki commented 9 years ago

I have been bitten by this too. Is any help needed?

glyph commented 8 years ago

@orki Please feel free to submit a PR.

glyph commented 2 years ago

Closing because stale, but still happy to accept a PR / new issue whenever.