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
  • 12 months ago
  • 2 hours ago
  • 10 years ago

Installs

  • Total 96K
  • Win 47K
  • Mac 28K
  • Linux 22K
Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 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
Windows 4 11 18 15 18 9 8 6 7 12 13 21 19 8 14 12 13 17 6 7 8 15 8 12 17 10 12 7 7 13 13 8 11 13 10 12 9 17 10 18 9 13 10 23 18 8
Mac 0 3 8 13 5 5 6 4 5 9 3 3 5 6 6 4 6 8 2 5 1 3 7 6 2 2 5 2 2 2 7 8 5 3 2 2 11 4 5 11 8 4 4 6 1 7
Linux 1 10 2 7 5 11 5 2 5 3 6 6 1 3 3 6 5 6 6 4 6 4 5 8 8 7 4 5 3 8 5 10 12 3 6 5 1 9 6 7 9 1 3 10 11 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.

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