branch: externals/phpinspect
commit dbbc5927e49a367da82b42c9449c2fa647ad8817
Author: Hugo Thunnissen <de...@hugot.nl>
Commit: Hugo Thunnissen <de...@hugot.nl>

    Enable company-mode before changing its variables in README example
---
 README.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/README.md b/README.md
index 58a3b259e3..5ae4ba18d9 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,9 @@ Example config:
 ```elisp
 ;;;###autoload
 (defun my-php-personal-hook ()
+  ;; It is important to enable `company-mode' before setting
+  ;; the variables below.
+  (company-mode)
   (setq-local company-minimum-prefix-length 0)
   (setq-local company-tooltip-align-annotations t)
   (setq-local company-idle-delay 0.1)

Reply via email to