{"repo":"mfussenegger/nvim-lint","free":true,"listed":false,"github":"https://github.com/mfussenegger/nvim-lint","clone":"git clone https://github.com/mfussenegger/nvim-lint.git","description":"Mirror of: https://codeberg.org/mfussenegger/nvim-lint An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.","language":"Lua","stars":2774,"topics":["neovim","linter","neovim-plugin","syntax-checker","hacktoberfest"],"license":"GPL-3.0","category":"dev-tools","readme_excerpt":"nvim-lint An asynchronous linter plugin for Neovim ( = 0.9.5) complementary to the built-in Language Server Protocol support. Motivation & Goals With [ale][1] we already got an asynchronous linter, why write yet another one? Because [ale][1] also includes its own language server client. nvim-lint instead has a more narrow scope: It spawns linters, parses their output, and reports the results via the vim.diagnostic module. nvim-lint complements the built-in language server client for languages where there are no language servers, or where standalone linters provide better results. Installation - Requires Neovim = 0.9.5 - nvim-lint is a regular plugin and can be installed via the :h packages mechanism or via a plugin manager. For example: - If using [vim-plug][3]: Plug 'mfussenegger/nvim-lint' - If using [packer.nvim][4]: use 'mfussenegger/nvim-lint' Usage Configure the linters you want to run per file type. For example: To get the filetype of a buffer you can run := vim.bo.filetype . The filetype can also be a compound filetype . For example, if you have a buffer with a filetype like yaml.ghaction , you can use either ghaction , yaml or the full yaml.ghaction as key in the linters by ft table and the linter will be picked up in that buffer. This is useful for linters like [actionlint][actionlint] in combination with vim.filetype patterns like [\". /.github/workflows/. %.yml\"] = \"yaml.ghaction\", Then setup a autocmd to trigger linting. For example: or with Lua auto commands: Som","default_branch":null,"files":null,"tree":[],"storefront":"/r/mfussenegger","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mfussenegger/nvim-lint/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}