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
  • 4 hours ago
  • 14 years ago

Installs

  • Total 118K
  • Win 59K
  • Mac 33K
  • Linux 27K
Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25
Windows 2 7 7 10 1 3 3 5 7 5 4 8 7 3 6 5 3 6 8 10 2 7 8 11 10 12 18 3 3 2 6 9 5 9 2 3 7 7 7 5 8 4 3 2 7 8
Mac 0 0 2 4 2 1 2 0 1 4 2 1 3 8 0 3 5 5 5 1 0 1 1 1 3 6 0 3 4 5 3 3 1 2 0 2 2 4 3 1 5 2 2 3 1 2
Linux 2 1 2 1 3 2 2 1 7 4 2 2 4 4 2 4 2 7 3 1 4 5 4 0 3 6 4 2 4 4 0 0 7 4 1 1 6 4 6 3 3 3 1 3 4 6

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