EditorConfig plugin for Textadept
Lua
Permalink
Failed to load latest commit information.
contrib
LICENSE
README.md
editorconfig.lua

README.md

EditorConfig Plugin for Textadept

This is an EditorConfig plugin for Textadept.

Installation

Install From source

  1. Install the EditorConfig Lua Core. Simply run the following command to install:

    luarocks install editorconfig-core
    
  2. Install the editorconfig.lua module to your Textadept _USERHOME.

    cd ~/.textadept
    mkdir -p modules/textadept/editing
    cp /path/to/editorconfig.lua modules/textadept/editing
    echo "require(\"textadept.editing.editorconfig\")" >> init.lua
    

    Check the Manual for further information about module installation and how to configure Textadept.

Supported Properties

The Textadept EditorConfig plugin supports the following EditorConfig properties:

  • indent_style
  • indent_size
  • tab_width
  • end_of_line
  • charset
  • trim_trailing_whitespace
  • insert_final_newline