Skip to content

Commit

Permalink
;; (when (bound-and-true-p smartparens-mode)
Browse files Browse the repository at this point in the history
  • Loading branch information
jim committed Mar 27, 2024
1 parent e9738f4 commit 0d4893f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions company-php.el
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,6 @@ matches IDLE-BEGIN-AFTER-RE, MAX-LEN return it wrapped in a cons."
(when (ac-php--tag-name-is-function arg)
(setq doc (s-replace "&" "" (ac-php-clean-document (get-text-property 0 'ac-php-help arg))))
(insert (concat doc ")"))
(when (bound-and-true-p smartparens-mode)
(delete-char 1))
(company-template-c-like-templatify (concat arg doc ")")))))

;; Local Variables:
Expand Down

0 comments on commit 0d4893f

Please sign in to comment.