LuaFormat icon indicating copy to clipboard operation
LuaFormat copied to clipboard

Lua Format Plugin For Sublime Text

LuaFormat

Lua Format Plugin For Sublime Text

GitHub version Build Status MIT License

Install

  • Package Control

Search LuaFormat via Package Control: Install Package

  • Git

git clone this repository to Packages Path

  • Zip

download zip and unzip to Packages Path

Usage

  • Command Panel

    Ctrl + Shift + P

    - `LuaFormat: Key Bindings`
    - `LuaFormat: Settings`
    
  • Menu

    Preferences -> Package Settings -> LuaFormat

    - `Settings - User`
    - `Key Bindings - User`
    
  • Shortcuts

    • Ctrl + Alt + F
  • Settings

    • tab_size: the number of spaces a tab
    • special_symbol_split: split special symbol with a spaces
    • bracket_split: split bracket with a spaces
    • auto_format_on_save: run Lua Format automatically when saved file