joereynolds / joereynolds/sql-lint

[Question] How to use with Vim/Ale?

Open
#170 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
459
Forks
44
PR merge metrics
No merged PRs in 30d

Description

Hi,

I found some instructions for using Vim/Ale here:
https://github.com/joereynolds/sql-lint/issues/30

But, `:ALELint` isn't returning anything when I open up a faulty SQL file...

I have installed and configured it in my vimrc like this:

```
Plug 'dense-analysis/ale', { 'for': ['sql'] }
Plug 'joereynolds/sql-lint.', {'do': 'npm install'}
...
let g:ale_linters = { 'sql': ['sql-lint'] }
```

I can't really seem to figure out where the executable `sql-lint` is supposed to be living? I looked in `~/.vim/plugged/sql-lint/node_modules/.bin/` but I don't see it there, or in `/usr/local/bin`...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.