aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua/cmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lexlua/cmake.lua')
-rw-r--r--lexlua/cmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlua/cmake.lua b/lexlua/cmake.lua
index ea6d472bb..c5e2dd181 100644
--- a/lexlua/cmake.lua
+++ b/lexlua/cmake.lua
@@ -135,6 +135,6 @@ lex:add_fold_point(lexer.KEYWORD, 'WHILE', 'ENDWHILE')
lex:add_fold_point(lexer.FUNCTION, 'MACRO', 'ENDMACRO')
lex:add_fold_point(lexer.OPERATOR, '(', ')')
lex:add_fold_point(lexer.OPERATOR, '{', '}')
-lex:add_fold_point(lexer.COMMENT, '#', lexer.fold_line_comments('#'))
+lex:add_fold_point(lexer.COMMENT, lexer.fold_consecutive_lines('#'))
return lex