Giter Site home page Giter Site logo

Comments (4)

w0rp avatar w0rp commented on July 22, 2024 14

I have now added support for this. You can now set the following in your vimrc file:

let g:ale_lint_on_text_changed = 0
let g:ale_lint_on_enter = 0
let g:ale_lint_on_save = 1

Then linting will only be performed, asynchronously, when a file is saved, if that's how you want to go about it.

from ale.

w0rp avatar w0rp commented on July 22, 2024

Sure, that can be done. I can add an option which is off by default, and you could turn two off and one on to get that behaviour.

You could probably do it now in vimrc with an autocmd which calls ALELint(0). There's a similar line for BufEnter at the end of the main file.

I'll add a switch for it, as others will probably want the same.

from ale.

trevordmiller avatar trevordmiller commented on July 22, 2024

Ok cool. I'll add an autocmd for now. Thanks @w0rp :)

from ale.

trevordmiller avatar trevordmiller commented on July 22, 2024

Thank you @w0rp!

from ale.

Related Issues (20)

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.