Install for Neovim on Arch Linux
Supported operating systems:
1. Install prerequisites
Install and configure one of the following Neovim plugins:
- ALE - Asynchronous Lint Engine v2.1.1 or newer, or version v3.0.0 or newer
- coc.nvim - Conquer of Completion v0.0.80 or newer
- nvim-lspconfig (requires Neovim 0.5.0 or newer)
2. Install quick-lint-js
quick-lint-js has two packages in the AUR:
- quick-lint-js: latest stable release
- quick-lint-js-git: unstable version from VCS
If you are using an AUR helper, install quick-lint-js on Arch Linux using your helper. For example, to install with yay, open a terminal and run the following commands:
yay -Sy quick-lint-js
If you want to install without an AUR helper, download and install the package from AUR manually by running the following commands:
pacman -Sy base-devel git git clone https://aur.archlinux.org/quick-lint-js.git aur-quick-lint-js cd aur-quick-lint-js makepkg -si
3. Configure
Configure the Neovim plugin by opening Neovim and running :help quick-lint-js, or read the Neovim plugin docs online.
nvim-lspconfig users can add this line to their init.lua
file:
require('lspconfig/quick_lint_js').setup {}