Skip to content

Commit

Permalink
Add usage for Neovim
Browse files Browse the repository at this point in the history
  • Loading branch information
mantoni committed Dec 19, 2024
1 parent de63ca2 commit 02448b1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@
let g:syntastic_javascript_eslint_exec = 'eslint_d'
```

### Neovim

- With [nvim-lint][]

```lua
vim.env.ESLINT_D_PPID = vim.fn.getpid()
require('lint').linters_by_ft = {
javascript = {'eslint_d'},
typescript = {'eslint_d'},
}
```

### Emacs

Use [flycheck][] with the `javascript-eslint` checker:
Expand Down Expand Up @@ -216,6 +228,7 @@ MIT
[eslint]: https://eslint.org
[ale]: https://github.com/dense-analysis/ale
[syntastic]: https://github.com/scrooloose/syntastic
[nvim-lint]: https://github.com/mfussenegger/nvim-lint
[flycheck]: http://www.flycheck.org/
[SublimeLinter-eslint]: https://github.com/SublimeLinter/SublimeLinter-eslint

Expand Down

0 comments on commit 02448b1

Please sign in to comment.