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.3
  • github.​com
  • github.​com
  • 4 months ago
  • 7 minutes ago
  • 10 years ago

Installs

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

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