INI
Syntax highlighting for INI and REG files in Sublime Text
Labels language syntax
Details
Installs
- Total 118K
- Win 59K
- Mac 33K
- Linux 27K
| Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 1 | 8 | 3 | 4 | 9 | 5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 5 | 1 | 6 | 7 | 9 | 4 | 6 | 8 | 7 | 3 | 7 | 5 | 8 | 4 | 6 | 6 | 9 | 5 | 4 | 6 | 5 | 4 | 9 | 7 | 5 | 3 | 5 | 4 | 4 | 15 | 6 |
| Mac | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 4 | 1 | 1 | 6 | 2 | 0 | 1 | 3 | 4 | 2 | 4 | 2 | 0 | 1 | 2 | 2 | 2 | 1 | 2 | 3 | 2 | 2 | 5 | 2 | 4 | 4 | 2 | 4 | 4 | 4 | 2 |
| Linux | 0 | 3 | 1 | 2 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 3 | 6 | 1 | 1 | 2 | 7 | 1 | 2 | 3 | 2 | 4 | 4 | 1 | 2 | 6 | 6 | 3 | 2 | 3 | 2 | 1 | 2 | 6 | 0 | 2 | 3 | 4 | 2 | 2 | 1 | 3 |
Readme
- Source
- raw.githubusercontent.com
INI Syntax
A package for Sublime Text that provides syntax highlighting for INI and related file types like Windows Registry (.reg) files.
Installation
The package can be installed via Sublime Text's package manager Package Control. From the command palette choose Package Control: Install Package and search for INI.
Customization
Comment toggling
The default character for the “toggle comment” functionality (Ctrl+/ on Windows/Linux or ⌘+/ on macOS) in INI files is a semicolon.
It can be changed to # by adding a custom key binding with a "variant": 2 argument for the toggle_comment command (this requires Sublime Text build 4130 or later):
Error: language “jsonc” is not supported
{
"keys": ["ctrl+/"], // or ["super+forward_slash"] on macOS
"command": "toggle_comment",
"args": {"block": false, "variant": 2},
"context": [{"key": "selector", "operand": "source.ini"}]
},