Skip to content

Commit

Permalink
Avoid lsp hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Sep 13, 2023
1 parent e5b718a commit 8521ce9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doxygen-asterisk.el
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@
:group 'convenience
:link '(url-link :tag "Repository" "https://github.com/emacs-vs/doxygen-asterisk"))

;;
;; (@* "Externals" )
;;

(defvar lsp-inhibit-lsp-hooks)

;;
;; (@* "Entry" )
;;
Expand Down Expand Up @@ -100,7 +106,8 @@ This fulfill condition, /* with */ into a pair."
(save-excursion
(when (and (doxygen-asterisk--last-char-in-line-p)
(doxygen-asterisk--looking-back "/[*]" 2))
(insert "*/")))))
(let ((lsp-inhibit-lsp-hooks t))
(insert "*/"))))))

(provide 'doxygen-asterisk)
;;; doxygen-asterisk.el ends here

0 comments on commit 8521ce9

Please sign in to comment.