ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

INI

by jwortmann ALL

Syntax highlighting for INI and REG files in Sublime Text

Details

  • 2016.07.09.20.30.02
    1.6.1
  • github.​com
  • github.​com
  • 2 years ago
  • 2 hours ago
  • 14 years ago

Installs

  • Total 117K
  • Win 58K
  • Mac 32K
  • Linux 27K
Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24
Windows 4 7 3 9 1 17 7 5 4 4 4 2 8 9 3 9 3 7 6 8 11 9 4 4 7 9 5 4 9 6 4 7 3 8 13 8 4 6 8 14 8 13 8 4 2 4
Mac 0 2 3 4 2 1 2 4 1 3 0 3 2 1 4 2 1 3 0 2 1 1 1 1 4 4 3 3 3 3 0 2 1 7 1 1 3 3 2 2 5 3 2 2 1 2
Linux 3 4 2 7 1 2 4 2 1 4 4 3 2 4 2 0 1 7 5 4 4 3 2 2 4 0 4 7 5 2 4 3 2 5 1 2 1 4 10 5 1 4 6 0 2 2

Readme

Source
raw.​githubusercontent.​com

INI Syntax

License Version GitHub Actions

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"}]
},