aboutsummaryrefslogtreecommitdiffstats
path: root/queries/desktop
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-06-12 09:54:30 -0600
committerChristian Clason <c.clason@uni-graz.at>2025-05-12 18:43:40 +0200
commit692b051b09935653befdb8f7ba8afdb640adf17b (patch)
tree167162b6b129ae04f68c5735078521a72917c742 /queries/desktop
parentfeat(c-family): inherit injections (diff)
downloadnvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar
nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.gz
nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.bz2
nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.lz
nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.xz
nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.zst
nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.zip
feat!: drop modules, general refactor and cleanup
Diffstat (limited to 'queries/desktop')
-rw-r--r--queries/desktop/folds.scm1
-rw-r--r--queries/desktop/highlights.scm94
-rw-r--r--queries/desktop/injections.scm8
3 files changed, 0 insertions, 103 deletions
diff --git a/queries/desktop/folds.scm b/queries/desktop/folds.scm
deleted file mode 100644
index 624ca8a86..000000000
--- a/queries/desktop/folds.scm
+++ /dev/null
@@ -1 +0,0 @@
-(group) @fold
diff --git a/queries/desktop/highlights.scm b/queries/desktop/highlights.scm
deleted file mode 100644
index 7a5ebf241..000000000
--- a/queries/desktop/highlights.scm
+++ /dev/null
@@ -1,94 +0,0 @@
-(comment) @comment @spell
-
-(group_name) @markup.heading
-
-(entry
- key: (identifier) @property)
-
-(localized_key
- name: (identifier) @property)
-
-[
- (language)
- (country)
- (encoding)
- (modifier)
-] @string.special
-
-(string) @string
-
-(escape_sequence) @string.escape
-
-(field_code) @character.special
-
-[
- (true)
- (false)
-] @boolean
-
-"=" @operator
-
-[
- ";"
- "_"
- "."
- "@"
-] @punctuation.delimiter
-
-[
- "["
- "]"
-] @punctuation.bracket
-
-; Especial entries
-((entry
- key: (identifier) @_key
- value: (string) @type)
- (#eq? @_key "Type")
- (#any-of? @type "Application" "Link" "Directory"))
-
-((entry
- key: (identifier) @_key
- value: (string) @number)
- (#eq? @_key "Version"))
-
-((entry
- key: (identifier) @_key
- value: (string) @string.special.path)
- (#any-of? @_key "TryExec" "Path"))
-
-((entry
- key: (identifier) @_key
- value: (string) @string.special.url)
- (#eq? @_key "URL"))
-
-; https://specifications.freedesktop.org/menu-spec/latest/category-registry.html
-((entry
- key: (identifier) @_key
- value: (list
- (string) @constant.builtin))
- (#eq? @_key "Categories")
- (#any-of? @constant.builtin
- ; Main categories
- "AudioVideo" "Audio" "Video" "Development" "Education" "Game" "Graphics" "Network" "Office"
- "Science" "Settings" "System" "Utility"
- ; Additional Categories
- "Building" "Debugger" "IDE" "GUIDesigner" "Profiling" "RevisionControl" "Translation" "Calendar"
- "ContactManagement" "Database" "Dictionary" "Chart" "Email" "Finance" "FlowChart" "PDA"
- "ProjectManagement" "Presentation" "Spreadsheet" "WordProcessor" "2DGraphics" "VectorGraphics"
- "RasterGraphics" "3DGraphics" "Scanning" "OCR" "Photography" "Publishing" "Viewer" "TextTools"
- "DesktopSettings" "HardwareSettings" "Printing" "PackageManager" "Dialup" "InstantMessaging"
- "Chat" "IRCClient" "Feed" "FileTransfer" "HamRadio" "News" "P2P" "RemoteAccess" "Telephony"
- "TelephonyTools" "VideoConference" "WebBrowser" "WebDevelopment" "Midi" "Mixer" "Sequencer"
- "Tuner" "TV" "AudioVideoEditing" "Player" "Recorder" "DiscBurning" "ActionGame" "AdventureGame"
- "ArcadeGame" "BoardGame" "BlocksGame" "CardGame" "KidsGame" "LogicGame" "RolePlaying" "Shooter"
- "Simulation" "SportsGame" "StrategyGame" "Art" "Construction" "Music" "Languages"
- "ArtificialIntelligence" "Astronomy" "Biology" "Chemistry" "ComputerScience" "DataVisualization"
- "Economy" "Electricity" "Geography" "Geology" "Geoscience" "History" "Humanities"
- "ImageProcessing" "Literature" "Maps" "Math" "NumericalAnalysis" "MedicalSoftware" "Physics"
- "Robotics" "Spirituality" "Sports" "ParallelComputing" "Amusement" "Archiving" "Compression"
- "Electronics" "Emulator" "Engineering" "FileTools" "FileManager" "TerminalEmulator" "Filesystem"
- "Monitor" "Security" "Accessibility" "Calculator" "Clock" "TextEditor" "Documentation" "Adult"
- "Core" "KDE" "COSMIC" "GNOME" "XFCE" "DDE" "GTK" "Qt" "Motif" "Java" "ConsoleOnly"
- ; Reserved
- "Screensaver" "TrayIcon" "Applet" "Shell"))
diff --git a/queries/desktop/injections.scm b/queries/desktop/injections.scm
deleted file mode 100644
index 1666a0430..000000000
--- a/queries/desktop/injections.scm
+++ /dev/null
@@ -1,8 +0,0 @@
-((comment) @injection.content
- (#set! injection.language "comment"))
-
-((entry
- key: (identifier) @_exec
- value: (string) @injection.content)
- (#eq? @_exec "Exec")
- (#set! injection.language "bash"))