INI
Syntax highlighting for INI and REG files in Sublime Text
Labels language syntax
Details
Installs
- Total 118K
- Win 58K
- Mac 33K
- Linux 27K
| Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 1 | 7 | 7 | 7 | 5 | 8 | 4 | 3 | 2 | 7 | 8 | 5 | 9 | 4 | 6 | 5 | 6 | 6 | 5 | 4 | 6 | 8 | 8 | 8 | 10 | 13 | 7 | 0 | 4 | 6 | 4 | 11 | 11 | 9 | 4 | 2 | 7 | 6 | 5 | 5 | 9 | 5 | 7 | 9 | 7 | 14 |
| Mac | 0 | 2 | 4 | 3 | 1 | 5 | 2 | 2 | 3 | 1 | 2 | 3 | 4 | 2 | 1 | 2 | 0 | 1 | 3 | 0 | 0 | 2 | 4 | 6 | 4 | 2 | 3 | 3 | 4 | 3 | 0 | 4 | 0 | 2 | 2 | 0 | 1 | 2 | 3 | 2 | 2 | 0 | 1 | 2 | 1 | 3 |
| Linux | 0 | 6 | 4 | 6 | 3 | 3 | 3 | 1 | 3 | 4 | 6 | 3 | 3 | 5 | 2 | 3 | 3 | 3 | 1 | 1 | 2 | 4 | 5 | 8 | 8 | 3 | 9 | 9 | 4 | 5 | 4 | 5 | 4 | 1 | 2 | 5 | 3 | 3 | 3 | 2 | 3 | 3 | 2 | 3 | 3 | 2 |
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"}]
},