summaryrefslogtreecommitdiffstats
path: root/misc/syntax/meson.syntax
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:22:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:22:03 +0000
commitffccd5b2b05243e7976db80f90f453dccfae9886 (patch)
tree39a43152d27f7390d8f7a6fb276fa6887f87c6e8 /misc/syntax/meson.syntax
parentInitial commit. (diff)
downloadmc-ffccd5b2b05243e7976db80f90f453dccfae9886.tar.xz
mc-ffccd5b2b05243e7976db80f90f453dccfae9886.zip
Adding upstream version 3:4.8.30.upstream/3%4.8.30
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'misc/syntax/meson.syntax')
-rw-r--r--misc/syntax/meson.syntax91
1 files changed, 91 insertions, 0 deletions
diff --git a/misc/syntax/meson.syntax b/misc/syntax/meson.syntax
new file mode 100644
index 0000000..7500ad6
--- /dev/null
+++ b/misc/syntax/meson.syntax
@@ -0,0 +1,91 @@
+# MIT License
+#
+# Copyright (c) 2018 Vitold S
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in all
+# copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
+
+context default
+# Functions
+ keyword whole add_global_arguments white
+ keyword whole add_global_link_arguments white
+ keyword whole add_languages white
+ keyword whole add_project_arguments white
+ keyword whole add_project_link_arguments white
+ keyword whole add_test_setup white
+ keyword whole benchmark white
+ keyword whole both_libraries white
+ keyword whole build_target white
+ keyword whole configuration_data white
+ keyword whole configure_file white
+ keyword whole custom_target white
+ keyword whole declare_dependency white
+ keyword whole dependency white
+ keyword whole disabler white
+ keyword whole error white
+ keyword whole environment white
+ keyword whole executable white
+ keyword whole find_library white
+ keyword whole find_program white
+ keyword whole files white
+ keyword whole generator white
+ keyword whole get_option white
+ keyword whole get_variable white
+ keyword whole import white
+ keyword whole include_directories white
+ keyword whole install_data white
+ keyword whole install_headers white
+ keyword whole install_man white
+ keyword whole install_subdir white
+ keyword whole is_variable white
+ keyword whole jar white
+ keyword whole join_paths white
+ keyword whole library white
+ keyword whole message white
+ keyword whole warning white
+ keyword whole project white
+ keyword whole run_command white
+ keyword whole run_target white
+ keyword whole set_variable white
+ keyword whole shared_library white
+ keyword whole shared_module white
+ keyword whole static_library white
+ keyword whole subdir white
+ keyword whole subdir_done white
+ keyword whole subproject white
+ keyword whole test white
+ keyword whole vcs_tag white
+# Build-in objects
+ keyword whole meson yellow
+ keyword whole build_machine yellow
+ keyword whole host_machine yellow
+ keyword whole target_machine yellow
+ keyword whole compiler yellow
+ keyword whole string yellow
+ keyword whole Number yellow
+ keyword whole boolean yellow
+ keyword whole array yellow
+ keyword whole dictionary yellow
+
+context ' ' green
+
+context " " brightred
+
+context linestart # \n brown
+ spellcheck