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