Skip to content

Nvim-lint

Nvim-lint is a powerful asynchronous linter plugin that provides real-time code linting with support for multiple linters and languages.

What Problem Does It Solve?

Traditional linting in Neovim can be:

  • Slow and blocking
  • Inconsistent across languages
  • Hard to configure
  • Not real-time
  • Limited in functionality

How It Improves Productivity

  1. Fast Linting:

    • Asynchronous operation
    • Real-time feedback
    • Multiple linter support
    • Non-blocking
  2. Easy Configuration:

    • Simple setup
    • Language-specific settings
    • Linter selection
    • Custom rules
  3. Advanced Features:

    • Diagnostic integration
    • Custom linters
    • Project-wide linting
    • Linter fallbacks

How to Use

Basic Usage

  • Linting happens automatically
  • Use :Lint to manually lint
  • Use :LintInfo to see linter info
  • Use :LintToggle to toggle linting

Supported Linters

  • ESLint
  • Pylint
  • ShellCheck
  • Luacheck
  • Many more…

Integration

  • Works with LSP
  • Supports diagnostics
  • Compatible with trouble.nvim
  • Works with telescope