Skip to content

editorconfig/editorconfig-textadept

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Sep 12, 2016

EditorConfig Plugin for Textadept

This is an EditorConfig plugin for Textadept.

Installation

  1. You'll need the EditorConfig Lua Core. It can be installed using LuaRocks with the following command:

     luarocks install editorconfig-core
    

You may need to set TA_LUA_CPATH if using LuaRocks. This can be done for example by adding to your environment:

    export TA_LUA_CPATH=";;$(luarocks path --lr-cpath)"
  1. 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

About

EditorConfig plugin for Textadept

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages