[Github-comments] [geany/geany] Meson filetype support (#1734)

Andy Alt notifications at xxxxx
Sun Jun 27 03:55:57 UTC 2021


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 or view it on GitHub:
https://github.com/geany/geany/issues/1734#issuecomment-869096131
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210626/f638200e/attachment.htm>


More information about the Github-comments mailing list