Skip to content

Commit 11b0393

Browse files
committed
Add company-phpactor-request-async option
1 parent e154a4c commit 11b0393

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

company-phpactor.el

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@
3232
(require 'company)
3333
(require 'phpactor)
3434

35+
(defgroup company-phpactor nil
36+
"Company backend for Phpactor."
37+
:prefix "company-phpactor-"
38+
:group 'company
39+
:group 'phpactor)
40+
41+
(defcustom company-phpactor-request-async t
42+
"When non-NIL, asynchronous recuest to Phpactor."
43+
:type 'boolean
44+
:group 'company-phpactor)
45+
3546
(defun company-phpactor--grab-symbol ()
3647
"If point is at the end of a symbol, return it.
3748
Otherwise, if point is not inside a symbol, return an empty string.

0 commit comments

Comments
 (0)