<p></p>
<p>I don't know if this is really the "right" way, but it's working for now.</p>
<p>After you create the file below, edit <code>filetype_extensions.conf</code> and add</p>
<p><code>Meson=*.build</code></p>
<h2>filetypes.Meson.conf</h2>
<pre><code>[styling=Python]

[keywords]
primary=if else elif endif foreach endforeach true false and not or in continue break
identifiers=add_global_arguments add_global_link_arguments add_languages add_project_arguments add_project_link_arguments add_test_setup alias_target assert benchmark both_libraries build_target configuration_data configure_file custom_target declare_dependency dependency disabler error environment executable find_library find_program files generator get_option get_variable import include_directories install_data install_headers install_man install_subdir is_disabler is_variable jar join_paths library message warning summary project run_command run_target set_variable shared_library shared_module static_library subdir subdir_done subproject test vcs_tag

[lexer_properties=Python]

[settings]
lexer_filetype=Python
tag_parser=Meson
extension=build
comment_single=#
mime_type=text/x-meson
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1734#issuecomment-869096131">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYLLKYRYO3M2P3T2BDTU2OM3ANCNFSM4ELDV7FQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ2JIHQZCXDEYF7V3GDTU2OM3A5CNFSM4ELDV7F2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGPGVVQY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/1734#issuecomment-869096131",
"url": "https://github.com/geany/geany/issues/1734#issuecomment-869096131",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>