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
  • 1 year ago
  • 4 hours ago
  • 13 years ago

Installs

  • Total 115K
  • Win 57K
  • Mac 32K
  • Linux 26K
Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28
Windows 1 6 7 11 7 10 3 5 3 9 5 7 4 6 6 12 8 7 6 6 4 5 2 10 8 10 7 8 7 10 8 8 9 8 5 6 11 12 6 12 4 5 2 9 10 10
Mac 0 0 2 4 4 9 2 3 2 4 2 3 1 3 1 3 2 4 0 4 3 1 2 3 3 5 4 2 1 0 1 4 2 2 3 2 3 4 2 3 2 3 4 4 4 2
Linux 1 2 3 2 6 2 2 2 2 3 4 4 3 3 4 4 5 3 2 2 0 1 2 2 8 6 1 2 2 2 3 3 4 0 1 2 5 0 2 1 1 0 2 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"}]
},