dotfiles/.config/nvim/lsp/sqruff.lua

14 lines
328 B
Lua
Raw Permalink Normal View History

---@brief
---
--- https://github.com/quarylabs/sqruff
---
--- `sqruff` can be installed by following the instructions [here](https://github.com/quarylabs/sqruff?tab=readme-ov-file#installation)
---
---@type vim.lsp.Config
return {
cmd = { 'sqruff', 'lsp' },
filetypes = { 'sql' },
root_markers = { '.sqruff', '.git' },
}