I don't know if this is really the "right" way, but it's working for now.

After you create the file below, edit filetype_extensions.conf and add

Meson=*.build

filetypes.Meson.conf

[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


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.