syntax hightlight: keyword case insensitive
This commit is contained in:
parent
0d84afb4bf
commit
6777326b1a
|
@ -1,8 +1,6 @@
|
|||
import { LSPAny } from "vscode-languageserver";
|
||||
import { connection } from "./server";
|
||||
import ExtensionSettings, { extSettings } from "./settings";
|
||||
import * as cp from 'child_process';
|
||||
import { promisify } from 'util';
|
||||
import { extSettings } from "./settings";
|
||||
|
||||
type Modules = string[];
|
||||
type Policies = string[];
|
||||
|
|
|
@ -61,7 +61,7 @@ patterns:
|
|||
match: ^\s*\b(?i:build_name|exec_program|export_library_dependencies|install_files|install_programs|install_targets|load_command|make_directory|output_required_files|qt_wrap_cpp|qt_wrap_ui|remove|subdir_depends|subdirs|use_mangled_mesa|utility_source|variable_requires|write_file)\b
|
||||
# flow control commands in cmake
|
||||
- name: keyword.control.cmake
|
||||
match: ^\s*\b(if|elif|else|endif|while|endwhile|break|continue|foreach|endforeach|return|function|endfunction|macro|endmacro)\b
|
||||
match: ^\s*\b(?i:if|elif|else|endif|while|endwhile|break|continue|foreach|endforeach|return|function|endfunction|macro|endmacro)\b
|
||||
# unary tests operators
|
||||
- name: keyword.other.unary.cmake
|
||||
match: \b(EXISTS|COMMAND|DEFINED)\b
|
||||
|
|
Loading…
Reference in New Issue