Skip to content

Commit

Permalink
Merge pull request emacs-php#31 from kermorgant/var-completion-fix
Browse files Browse the repository at this point in the history
Fix regression from pr emacs-php#29 causing completion on object to fail
  • Loading branch information
zonuexe authored Jul 26, 2018
2 parents 8511f6a + 9f208d3 commit 3696dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion company-phpactor.el
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"If point is at the end of a symbol, return it.
Otherwise, if point is not inside a symbol, return an empty string.
Here we create a temporary syntax table in order to add $ to symbols."
(let (($temp-syn-table (make-syntax-table)))
(let (($temp-syn-table (make-syntax-table php-mode-syntax-table)))
(modify-syntax-entry ?\$ "_" $temp-syn-table)

(with-syntax-table $temp-syn-table
Expand Down

0 comments on commit 3696dfc

Please sign in to comment.