From ca0e9823a1dfd71a17c0f08cb7973d413bf98999 Mon Sep 17 00:00:00 2001 From: Luca Saccarola Date: Sun, 24 Dec 2023 18:57:02 +0100 Subject: runtime(c): Highlight user defined functions closes: #13763 Signed-off-by: Luca Saccarola Signed-off-by: Christian Brabandt --- runtime/doc/syntax.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'runtime/doc/syntax.txt') diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 5abc4e95b8..a2377b5671 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 9.1. Last change: 2024 Jan 06 +*syntax.txt* For Vim version 9.1. Last change: 2024 Jan 23 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1026,6 +1026,8 @@ Variable Highlight ~ *c_no_c99* don't highlight C99 standard items *c_no_c11* don't highlight C11 standard items *c_no_bsd* don't highlight BSD specific types +*c_functions* highlight function calls and definitions +*c_function_pointers* highlight function pointers definitions When 'foldmethod' is set to "syntax" then /* */ comments and { } blocks will become a fold. If you don't want comments to become a fold use: > -- cgit v1.2.3