Skip to content

Commit

Permalink
Merge pull request #89 from purcell/patch-3
Browse files Browse the repository at this point in the history
Only activate company backend in php code
  • Loading branch information
xcwen authored Oct 20, 2018
2 parents 40250a5 + d9fc41e commit 440e4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion company-php.el
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ matches IDLE-BEGIN-AFTER-RE, return it wrapped in a cons."
(interactive (list 'interactive))
(cl-case command
(interactive (company-begin-backend 'company-ac-php-backend))
(prefix (company-ac-php--prefix))
(prefix (when (derived-mode-p 'php-mode) (company-ac-php--prefix)))
(candidates (company-ac-php-candidate arg))
(annotation (company-ac-php-annotation arg))
(duplicates t)
Expand Down

0 comments on commit 440e4e6

Please sign in to comment.