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.2
  • github.​com
  • github.​com
  • 6 months ago
  • 1 hour ago
  • 9 years ago

Installs

  • Total 93K
  • Win 45K
  • Mac 27K
  • Linux 21K
Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 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
Windows 15 21 13 9 22 16 17 17 10 8 11 10 14 13 14 11 7 12 18 21 17 12 14 8 10 17 17 9 22 15 9 5 13 12 15 14 16 7 13 15 9 20 11 8 6 17
Mac 11 9 6 5 8 7 13 9 6 3 4 4 6 8 2 4 1 2 5 7 9 12 8 3 1 4 9 9 2 7 2 5 6 8 8 9 6 3 4 10 8 13 8 3 2 2
Linux 4 5 5 3 6 7 12 7 11 6 4 3 2 8 7 5 3 7 9 5 10 7 6 2 2 5 5 7 10 8 6 6 6 9 9 11 4 6 6 5 4 4 7 5 9 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.

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