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
  • 6 hours ago
  • 15 years ago

Installs

  • Total 119K
  • Win 59K
  • Mac 33K
  • Linux 27K
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 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1
Windows 1 2 3 8 2 5 4 4 5 6 7 8 5 6 3 4 5 3 6 3 5 7 6 7 5 9 4 3 4 3 7 9 12 6 3 6 11 4 4 5 6 5 3 1 7 6
Mac 2 5 3 3 1 1 1 0 5 0 2 3 2 1 1 4 3 2 1 1 0 2 4 2 1 4 2 2 2 2 2 1 2 4 0 0 1 4 4 9 1 0 0 3 2 3
Linux 0 2 4 2 0 0 0 4 1 3 0 0 1 2 5 6 2 2 2 5 1 1 2 4 1 4 1 0 5 3 2 2 2 0 1 0 3 5 3 4 2 3 2 2 1 3

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