Skip to content

Commit

Permalink
remove vterm deps #11
Browse files Browse the repository at this point in the history
  • Loading branch information
shuxiao9058 committed Apr 26, 2024
1 parent 4d5aab7 commit 95c7b2a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions tabnine-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@
(require 'url)
(require 'tabnine-util)


;;
;; Externals
;;

(declare-function vterm-delete-region "ext:vterm.el")
(declare-function vterm-insert "ext:vterm.el")

;;
;; Constants
;;
Expand Down Expand Up @@ -917,8 +925,6 @@ Use TRANSFORM-FN to transform completion if provided."
(point-max))))
(if (eq major-mode 'vterm-mode)
(progn
(cl-eval-when (compile)
(require 'vterm))
(vterm-delete-region start end)
(vterm-insert t-completion)))
;; maybe should not delete this line
Expand Down
2 changes: 1 addition & 1 deletion tabnine.el
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
;; John Gong <gjtzone@hotmail.com>
;;
;; Version: 0.0.3
;; Package-Requires: ((emacs "27.1") (dash "2.16.0") (s "1.12.0") (editorconfig "0.9.1") (vterm "0.0.2") (language-id "0.5.1") (transient "0.4.0"))
;; Package-Requires: ((emacs "27.1") (dash "2.16.0") (s "1.12.0") (editorconfig "0.9.1") (language-id "0.5.1") (transient "0.4.0"))
;; Keywords: convenience
;; URL: https://github.com/shuxiao9058/tabnine/

Expand Down

0 comments on commit 95c7b2a

Please sign in to comment.