Skip to content

Commit

Permalink
fix(sql): drop sqlfluff as sqls supports formatting (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter authored Apr 17, 2024
1 parent 8fd4f99 commit 738444a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion lua/astrocommunity/pack/sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ This plugin pack does the following:

- Adds `sql` Treesitter parser
- Adds `sqls` language server
- Adds `sqlfluff` formatter
- Adds [sqls.nvim](https://github.com/nanotee/sqls.nvim) for language specific tooling
9 changes: 1 addition & 8 deletions lua/astrocommunity/pack/sql/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,11 @@ return {
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "sqls" })
end,
},
{
"jay-babu/mason-null-ls.nvim",
optional = true,
opts = function(_, opts)
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "sqlfluff" })
end,
},
{
"WhoIsSethDaniel/mason-tool-installer.nvim",
optional = true,
opts = function(_, opts)
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "sqlfluff", "sqls" })
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "sqls" })
end,
},
{
Expand Down

0 comments on commit 738444a

Please sign in to comment.