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