[PR #5502] [MERGED] Add basic gtksourceview language-spec (file type detection/syntax highlighting for profiles) #5519

Closed
opened 2026-05-05 10:39:54 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/5502
Author: @rusty-snake
Created: 12/3/2022
Status: Merged
Merged: 12/4/2022
Merged by: @rusty-snake

Base: masterHead: gtksourceview-language-spec


📝 Commits (1)

  • 2e60da6 Add basic gtksourceview language-spec

📊 Changes

5 files changed (+77 additions, -0 deletions)

View changed files

📝 .github/workflows/build-extra.yml (+2 -0)
📝 .github/workflows/codeql-analysis.yml (+2 -0)
📝 CONTRIBUTING.md (+1 -0)
📝 Makefile (+3 -0)
contrib/gtksourceview-5/language-specs/firejail-profile.lang (+69 -0)

📄 Description

Tested with org.gnome.TextEditor.

The gtksourceview language-spec hasn't changed between gtksourceview 3, 4 and 5 AFAIK so it should also work on older systems if you copy/link the file in the right places.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/5502 **Author:** [@rusty-snake](https://github.com/rusty-snake) **Created:** 12/3/2022 **Status:** ✅ Merged **Merged:** 12/4/2022 **Merged by:** [@rusty-snake](https://github.com/rusty-snake) **Base:** `master` ← **Head:** `gtksourceview-language-spec` --- ### 📝 Commits (1) - [`2e60da6`](https://github.com/netblue30/firejail/commit/2e60da631c2aaaf1b9a36c3fe5419452825dde72) Add basic gtksourceview language-spec ### 📊 Changes **5 files changed** (+77 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build-extra.yml` (+2 -0) 📝 `.github/workflows/codeql-analysis.yml` (+2 -0) 📝 `CONTRIBUTING.md` (+1 -0) 📝 `Makefile` (+3 -0) ➕ `contrib/gtksourceview-5/language-specs/firejail-profile.lang` (+69 -0) </details> ### 📄 Description Tested with org.gnome.TextEditor. The gtksourceview language-spec hasn't changed between gtksourceview 3, 4 and 5 AFAIK so it should also work on older systems if you copy/link the file in the right places. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:39:54 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#5519
No description provided.