From 34c308681efd522933c7fe33d8f5997165aeca43 Mon Sep 17 00:00:00 2001 From: John Wass Date: Tue, 16 Jan 2024 11:08:18 -0500 Subject: [PATCH] Add lang for config (#991) Adds a sourceview lang for fapolicyd config syntax. Closes #939 --- .../language-specs/fapolicyd-config.lang | 63 +++++++++++++++++++ .../resources/sourceview/styles/fapolicyd.xml | 4 ++ .../ui/config/config_text_view.py | 2 +- fapolicy_analyzer/ui/editable_text_view.py | 8 +-- fapolicy_analyzer/ui/rules/rules_text_view.py | 2 +- news/991.added.md | 1 + 6 files changed, 73 insertions(+), 7 deletions(-) create mode 100644 fapolicy_analyzer/resources/sourceview/language-specs/fapolicyd-config.lang create mode 100644 news/991.added.md diff --git a/fapolicy_analyzer/resources/sourceview/language-specs/fapolicyd-config.lang b/fapolicy_analyzer/resources/sourceview/language-specs/fapolicyd-config.lang new file mode 100644 index 000000000..6af545c0e --- /dev/null +++ b/fapolicy_analyzer/resources/sourceview/language-specs/fapolicyd-config.lang @@ -0,0 +1,63 @@ + + + + + + *.config + # + + + +