Comments (9)
I see what you mean. Calling a method does not use the same 'face' (in Emacs terms) as defining one. I would be in favor of changing php-mode to make this consistent. However, if any programmers who follow the development of php-mode have a different opinion I would greatly appreciate hearing it.
from php-mode.
Looking at the code in php-mode.el
, doesn't php-function-call-face
already make this possible? variables should also be highlighted it looks like.
from php-mode.
You're right, we php-function-call-face
three times in php-font-lock-kewords-3
, so it is probably worth double-checking those regular expressions. I agree too regarding variables.
from php-mode.
hey @ejmr , you fixed it?
from php-mode.
@cnwggu
Sorry for the late reply, but not yet. So far this year things "in real life" have kept me away from spending time on php-mode.
from php-mode.
It's OK, i have planed to learn elisp, wish that i can do some commits in the year 2013.
few days ago, i hacked header2.el, make it to update SVN Revision when saving file
from php-mode.
Hope you enjoy learning Elisp @cnwggu :)
Here is a useful introductory tutorial: http://ergoemacs.org/emacs/elisp.html
And of course using C-h i
in Emacs itself will let you read the built-in Emacs Lisp tutorial and the comprehensive reference for whenever you need to look-up exactly how something works.
from php-mode.
@ejmr thank u very much.
from php-mode.
Commit 0807f4e now makes php-mode highlight method calls using php-function-call-face
.
from php-mode.
Related Issues (20)
- Please tag release (prerelease or beta is ok) for Emacs 28 compatibility HOT 1
- Error in ternary operator indentation HOT 1
- Unexpected syntax highlights after "new" in string HOT 1
- Automatic, overly-clever brace-matching is annoying and how to turn it off is non-obvious HOT 2
- Function faces HOT 1
- Commented out array elements break indentation HOT 2
- Drop Emacs 25 Support
- WordPress coding style removing spaces around function args HOT 1
- The last argument of the method is not highlighted
- PEAR method chaining wrong indentation HOT 5
- File mode specification error HOT 5
- Indentation issue with closure/anonymous functions
- Lineup Cascaded Calls doesn't work properly
- emacs master results in error HOT 2
- Drop Emacs 26 Support
- Newline Indentation aligning with equal sign HOT 3
- while keyword says 'At top level' HOT 2
- Remove `$` from face names for interoperability with treesit
- `php-function-call` face does not inherit from `font-lock-function-call-face` HOT 2
- Highlight of first heredoc with quotes broken depending on how many characters exists before it
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-mode.