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
  • 29 minutes ago
  • 14 years ago

Installs

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

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