From e809b042aa677ada5e3a1cbc4b61eebf6acf3458 Mon Sep 17 00:00:00 2001 From: Eugene Shalygin Date: Sat, 23 Apr 2016 01:57:28 +0200 Subject: [PATCH] Add "slots" to WORDS keyword. Uncrustify inserts line break between an access specifier and "slots". However, it keeps these words combinations if "Q_SLOTS" is used. Its built-in parser classifies "Q_SLOTS" as WORD token, thus let's add "slots" to that class. --- uncrustify.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/uncrustify.cfg b/uncrustify.cfg index 41c0a8ded..da45e1e9b 100644 --- a/uncrustify.cfg +++ b/uncrustify.cfg @@ -1,4 +1,5 @@ set FOR foreach +set WORD slots newlines = LF