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
  • 3 months ago
  • 2 hours ago
  • 9 years ago

Installs

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