Skip to content

Commit

Permalink
Merge pull request #45 from cesarferradas/master
Browse files Browse the repository at this point in the history
Improve Vim documentation
  • Loading branch information
KidkArolis authored Apr 20, 2023
2 parents 8221e4c + 8bfe6f9 commit 6032b5c
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions docs/03-vim.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
# Vim

Install **[Syntastic][vim-1]** and add these lines to `.vimrc`:
## ALE (recommended)

Install **[ALE][vim-1]** and add these lines to `.vimrc`:

```vim
let g:ale_javascript_eslint_executable = 'healthier'
let g:ale_linters = {
\ 'javascript': ['eslint'],
\}
```

## Syntastic

Install **[Syntastic][vim-2]** and add these lines to `.vimrc`:

```vim
let g:syntastic_javascript_checkers=['eslint']
let g:syntastic_javascript_standard_exec = 'healthier'
let g:syntastic_javascript_eslint_exec = 'healthier'
```

[vim-1]: https://github.com/scrooloose/syntastic
[vim-1]: https://github.com/dense-analysis/ale
[vim-2]: https://github.com/scrooloose/syntastic

0 comments on commit 6032b5c

Please sign in to comment.