/ini-mode

Major mode for Windows-style ini files.

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

ini-mode - Major mode for Windows-style ini files

Author: Anders Lindgren
Version: 0.0.7
URL: https://github.com/Lindydancer/ini-mode

Major mode for Windows-style ini files.

Features:

  • Syntax highlight support.
  • Inherits from prog-mode (if present). The effect is that global minor modes that activates themselves in prog-mode buffers automatically work in ini-mode.

Example

Example

Background

There are many implementation of major modes for ini files. This is my attempt of a modern, simple, implementation.

Installation

This package is designed to be installed as a "package". Once installed, it is automatically used when opening files the .ini extension.

Alternatively, you can place the following lines in a suitable initialization file:

    (autoload 'ini-mode "ini-mode" nil t)
    (add-to-list 'auto-mode-alist '("\\.ini\\'" . ini-mode))

Converted from ini-mode.el by el2markdown.