{"id":16556656,"url":"https://github.com/shakeelmohamed/sublime-splunk-conf-highlighting","last_synced_at":"2025-10-28T20:30:44.581Z","repository":{"id":35687322,"uuid":"39963899","full_name":"shakeelmohamed/sublime-splunk-conf-highlighting","owner":"shakeelmohamed","description":"Syntax highlighting for Splunk .conf files in Sublime Text 2 \u0026 3","archived":false,"fork":false,"pushed_at":"2021-03-27T22:48:55.000Z","size":859,"stargazers_count":11,"open_issues_count":4,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T18:10:31.703Z","etag":null,"topics":["conf-files","configuration-file","highlighting","splunk","splunk-enterprise","sublime-text","syntax-highlighting"],"latest_commit_sha":null,"homepage":"https://packagecontrol.io/packages/Splunk%20Conf%20File%20Syntax%20Highlighting","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Avik-Jain/100-Days-of-ML-Code-Chinese-Version","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shakeelmohamed.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-30T17:41:32.000Z","updated_at":"2024-04-14T18:10:31.704Z","dependencies_parsed_at":"2022-09-24T10:50:27.795Z","dependency_job_id":null,"html_url":"https://github.com/shakeelmohamed/sublime-splunk-conf-highlighting","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakeelmohamed%2Fsublime-splunk-conf-highlighting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakeelmohamed%2Fsublime-splunk-conf-highlighting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakeelmohamed%2Fsublime-splunk-conf-highlighting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakeelmohamed%2Fsublime-splunk-conf-highlighting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shakeelmohamed","download_url":"https://codeload.github.com/shakeelmohamed/sublime-splunk-conf-highlighting/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219858899,"owners_count":16556039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["conf-files","configuration-file","highlighting","splunk","splunk-enterprise","sublime-text","syntax-highlighting"],"created_at":"2024-10-11T20:05:20.927Z","updated_at":"2025-10-28T20:30:39.235Z","avatar_url":"https://github.com/shakeelmohamed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sublime Text syntax highlighting for .conf files\n\n[![Build Status](https://travis-ci.org/shakeelmohamed/sublime-splunk-conf-highlighting.svg)](https://travis-ci.org/shakeelmohamed/sublime-splunk-conf-highlighting)\n\nSublime Text is awesome! But, there's no great way to get syntax highlighting for a Splunk .conf file... until now!\n\n**It works with Sublime Text 2 \u0026 3!**\n\n### Before\n\n![before](before.png)\n\n### After\n\n![after](after.png)\n\n## Installation\n\n* Install it from [Package Control](https://packagecontrol.io/) - search for `Splunk Conf File Syntax Highlighting`\n\n \n### Manual Installation\n\n* Clone the repo\n* `cd sublime-splunk-conf-highlighting`\n\n#### Sublime Text 2\n\n* `cp splunk-conf.tmLanguage ~/Library/Application\\ Support/Sublime\\ Text\\ 2/Packages/user/splunk-conf.tmLanguage`\n\n#### Sublime Text 3\n\n* `cp splunk-conf.tmLanguage ~/Library/Application\\ Support/Sublime\\ Text\\ 3/Packages/user/splunk-conf.tmLanguage`\n\n\n## Patterns\n\nPatterns are used to identify some part of a file.\n\nPatterns used by this package:\n\n* `^# DO NOT EDIT THIS FILE\\\\!$` - marks any lines as invalid if they are `# DO NOT EDIT THIS FILE!`\n* `^#.*$` - marks any lines that start with `#` as a comment\n* `^\\\\[.*\\\\]$` - marks any line starting with `[` and ending with `]` as a stanza\n* `^[\\\\w+\\\\.\\\\-\\\\:]+` - marks the beginning of a line as a conf key; defined by any whitespace, alphanumeric, `-` or `:` characters\n* `=` - marks any `=` as an equals sign\n\nPatterns have 3 main attributes:\n\n* `match` (or, `begin` and `end`): regex patterns\n* `name`: a `TextMate` language grammar group, `comment.line` for an inline comment\n* `comment`: a comment about the pattern\n\n## Resources\n\n* This TextMate [Language Grammars guide](https://manual.macromates.com/en/language_grammars#naming_conventions) is really helpful for figuring out what name to use for each rule.\n\n\n## Development Notes\n\nThere are 2 important files here:\n\n* `splunk-conf.YAML-tmLanguage` - The `AAAPackageDev` package compiles this to the following, this YAML file is much easier to use\n* `splunk-conf.tmLanguage` - This is a TextMate language definition file in XML format. SublimeText uses this format, it's a necessary evil.\n\n* Install package control if you haven't already\n* cmd + shift + P (Mac) or ctrl + shift + P (Windows)\n    - Install package\n    - AAAPackageDev\n* Open `splunk-conf.YAML-tmLanguage`\n* cmd + B should update `splunk-conf.tmLanguage`, make a small change and see if it worked. If not, play with your build system settings under Tools -\u003e Build System\n* During development you'll need to constantly copy the `splunk-conf.tmLanguage` into your Sublime Text package folder, like so: `cp splunk-conf.tmLanguage ~/Library/Application\\ Support/Sublime\\ Text\\ 3/Packages/user/splunk-conf.tmLanguage`\n* If something doesn't seem to update, quit \u0026 reopen Sublime Text and it should work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshakeelmohamed%2Fsublime-splunk-conf-highlighting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshakeelmohamed%2Fsublime-splunk-conf-highlighting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshakeelmohamed%2Fsublime-splunk-conf-highlighting/lists"}