Tijs Mallaerts
Tijs Mallaerts
Could you try to delete and reinstall (or recompile) the php-mode package in emacs 27.0.50 to see if this fixes this problem?
@cosarara Which version of php-mode are you using (`M-x php-mode-version`)? Do you also experience this slowdown with the latest release (`1.21.4`)? Thanks!
@zonuexe Do you perhaps have an idea how to speed up the font locking in this case? Thanks!
Ok great, thanks a lot for checking this @zonuexe!
I've been looking into this problem, and it seems setting `c-opt-cpp-prefix` to `nil` instead of `\\s-*
Good point! It seems [this call was also removed from `js-mode` some time ago](https://github.com/emacs-mirror/emacs/commit/9f31fb2a660a26ba510568fae102afc68db8f385). I quickly tried to comment out the call locally, but then it seems larger files only...
Ok great! I will give it some more testing to check if I still notice the partial font locking issue.
@phil-s @bridgesense This slowdown should be fixed by @zonuexe with PR #531. Could you perhaps verify this with the latest MELPA version of php-mode? Thanks!
Just a side note, the function in this stack overflow answer seems to work really well to indent the sql string at point: http://stackoverflow.com/a/24659949/6630186
Hi @holtzermann17, I think the `:protocol-version` is always `HTTP`, f.ex: ````clojure (-> (http/get "https://www.google.com") :protocol-version) ;; => {:name "HTTP", :major 1, :minor 1} ```` I notice the `:reason-phrase` is `Unauthorized`...