Skip to content
Snippets Groups Projects
Commit 07779394 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[clike mode] Highlight float as a type, not a keyword

Closes #3616
parent 9de718f4
No related branches found
No related tags found
No related merge requests found
......@@ -252,8 +252,7 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
}
}
var cKeywords = "auto if break case register continue return default do sizeof " +
"static else struct switch extern typedef float union for " +
"goto while enum const volatile";
"static else struct switch extern typedef union for goto while enum const volatile";
var cTypes = "int long char short double float unsigned signed void size_t ptrdiff_t";
function cppHook(stream, state) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment