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
  • 9 months ago
  • 1 hour ago
  • 10 years ago

Installs

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

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