yaegassy / coc-sqlfluff

SQLFluff (A SQL linter and auto-formatter for Humans) extension for coc.nvim
https://www.npmjs.com/package/coc-sqlfluff
MIT License
28 stars 1 forks source link

can this work in parallel with coc-sql #14

Closed laoshaw closed 1 year ago

laoshaw commented 1 year ago

or they are in conflict somehow?

yaegassy commented 1 year ago

coc-sqlfluff is an coc-extension for SQLFluff, a Python linter and formatter. coc-sql is an coc-extension using sql-formatter and node-sql-parser from js/ts.

For linting feature, coc-sqlfluff and coc-sql can be used at the same time, but only one of the formatter feature is used.

sqlfluff is a quirky tool and may be slow; if sqlfluff is not needed, it may be better to use coc-sql only.