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.4.1
  • github.​com
  • github.​com
  • 2 weeks ago
  • 3 hours ago
  • 9 years ago

Installs

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

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.

Features

You can navigate between sections in opened INI files via Sublime's Goto Symbol... feature from the menu or with the keyboard shortcut Ctrl+R.

Color Schemes

Following the naming conventions for key-value pairs, the scopes meta.mapping.key.ini string and meta.mapping.value.ini string are applied for keys and string values respectively. If you prefer different highlighting colors for key names and values, ensure to use a color scheme which targets one of these scopes to distinguish between them. You can easily add such a rule as a customization to your color scheme, as described in the official documentation. For example, if you want keys to be highlighted with the same color as keywords in Mariana, create a file Mariana.sublime-color-scheme in your Packages/User directory with the following content:

{
    "rules": [
        {
            "scope": "meta.mapping.key.ini string",
            "foreground": "var(pink)"
        }
    ]
}