From 9f208d37e24e7a1a428a876bad22b38968311d60 Mon Sep 17 00:00:00 2001 From: Mikael Kermorgant Date: Sat, 21 Jul 2018 00:34:04 +0300 Subject: [PATCH] Fix regression from pr #29 causing completion on object to fail pr#29 added avriable completion but completion of object methods stopped working. This should now be fixed. --- company-phpactor.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/company-phpactor.el b/company-phpactor.el index c0c0557..75a55e2 100644 --- a/company-phpactor.el +++ b/company-phpactor.el @@ -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