Giter Club home page Giter Club logo

ale-ronfmt's Introduction

ale-ronfmt

Adds ronfmt to ALE fixers.

Dependencies

Installation

Make sure you have ALE and ronfmt installed, otherwise it won't work.

Vim package management

Vim 8 on Unix

mkdir -p ~/.vim/pack/git-plugins/start
git clone --depth 1 https://github.com/theosirian/ale-ronfmt.git ~/.vim/pack/git-plugins/start/ale-ronfmt

NeoVim on Unix

mkdir -p ~/.local/share/nvim/site/pack/git-plugins/start
git clone --depth 1 https://github.com/theosirian/ale-ronfmt.git ~/.local/share/nvim/site/pack/git-plugins/start/ale-ronfmt

Vim 8 on Windows

# Run these commands in the "Git for Windows" Bash terminal
mkdir -p ~/vimfiles/pack/git-plugins/start
git clone --depth 1 https://github.com/theosirian/ale-ronfmt.git ~/vimfiles/pack/git-plugins/start/ale-ronfmt

Pathogen

git clone --depth 1 https://github.com/theosirian/ale-ronfmt.git ~/.vim/bundle/ale-ronfmt

Vundle

Plugin 'theosirian/ale-ronfmt'

Vim-Plug

Plug 'theosirian/ale-ronfmt'

Configuration

The plugin offers two configuration variables that you can set on your .vimrc:

" Set a different path for `ronfmt` executable
let g:ale_ron_ronfmt_executable='ronfmt'

" Modify the flags passed to `ronfmt`
let g:ale_ron_ronfmt_options='-t 2 -w 120'

Refer to ronfmt documentation to see the available options.

If you prefer to whitelist your linters and fixers for ALE don't forget to add it to the list:

let g:ale_fixers = { ..., 'ron': ['ronfmt'], ... }

ale-ronfmt's People

Contributors

theosirian avatar

Stargazers

Leandro Nishijima avatar Christian Takashi Nakata avatar Diogo Fernando avatar Alessandra H. Iriguti avatar  avatar Paulo Alexandre Panucci avatar  avatar Raphael avatar Guilherme Chichanoski avatar Thiago Kira avatar Raphael Franco avatar Ricardo Brunetto avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.