diff options
| author | Yuan Fu | 2023-05-19 16:09:17 -0700 |
|---|---|---|
| committer | Yuan Fu | 2023-05-19 16:11:23 -0700 |
| commit | f571e8f1bb678c52839180e450c2415b31a70516 (patch) | |
| tree | d46835535dabd81c0c78415c7fcbbe7d876ce0df /java/debug.sh | |
| parent | 42a28ffdc27498b66904c3d49e2f000a9b4690ca (diff) | |
| download | emacs-f571e8f1bb678c52839180e450c2415b31a70516.tar.gz emacs-f571e8f1bb678c52839180e450c2415b31a70516.zip | |
Improve c-ts-mode font-lock for function names (bug#63390)
When a function definition has preproc directives in its body, it
can't correctly parse into a function_definition. This fix tries to
recognize this case and highlight the function_declarator correctly.
* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--font-lock-settings): New rule.
(c-ts-mode--top-level-declarator): New function.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions