joe-re / sql-language-server

SQL Language Server
MIT License
694 stars 64 forks source link

Support colorize #59

Open joe-re opened 4 years ago

joe-re commented 4 years ago

Probably tree-sitter can be an option? https://github.com/tree-sitter/tree-sitter

love4myxsg commented 4 years ago

Can we have a full example in It seems new lint rules is not effective with following settings: (a) "sql": { "command": "sql-language-server", "args" : ["up", "--method", "stdio"], "filetypes": ["sql", "mysql"], "rules": { "reserved-word-case": ["error", "lower"], "linebreak-after-clause-keyword": "off" }

(b) "sql": { "command": "sql-language-server", "args" : ["up", "--method", "stdio"], "filetypes": ["sql", "mysql"] "connections": [ { "name": "sqlite3", "adapter": "sqlite3", "filename": "/tmp/test.sqlite3", "projectPaths": ["/tmp"], "rules": { "reserved-word-case": ["error", "lower"], "linebreak-after-clause-keyword": "off" } } ] }

Besides, connections not working too.

joe-re commented 4 years ago

@love4myxsg Hi, thank you for your report. Unfortunately, we haven't dealt with coc.nvim yet. We'll have plans to deal with it. Thanks.