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

Installs

  • Total 97K
  • Win 47K
  • Mac 28K
  • Linux 22K
Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13
Windows 9 15 13 22 25 15 11 7 13 22 13 17 9 10 9 11 13 15 16 12 6 11 10 11 17 17 18 10 6 17 17 16 23 14 7 10 11 18 15 18 9 8 6 7 12 13
Mac 5 1 5 11 6 5 1 3 7 5 3 5 10 7 3 9 3 5 14 6 2 4 9 8 7 6 5 6 3 8 6 9 8 6 2 2 3 8 13 5 5 6 4 5 9 3
Linux 5 1 5 8 13 4 3 5 8 6 8 7 6 1 1 7 5 4 3 12 2 5 5 8 8 6 6 3 3 6 8 9 4 5 8 4 10 2 7 5 11 5 2 5 3 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)"
        }
    ]
}