From 3b4de468c5c71d82b193933c5fbd3074313093cf Mon Sep 17 00:00:00 2001 From: "kacaii.dev" Date: Thu, 13 Aug 2026 17:18:26 -0300 Subject: [PATCH] nvim/conform: use sleek to format sql files --- .config/nvim/plugin/conform.lua | 12 ++---------- .config/nvim/plugin/mason.lua | 19 ++++++++++++++++++- packages.txt | 3 +-- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/.config/nvim/plugin/conform.lua b/.config/nvim/plugin/conform.lua index 7c873a2..cd93417 100644 --- a/.config/nvim/plugin/conform.lua +++ b/.config/nvim/plugin/conform.lua @@ -21,17 +21,9 @@ vim.api.nvim_create_autocmd("BufReadPost", { }, formatters_by_ft = { - erlang = { "erlfmt" }, gleam = { "gleam", "rustywind" }, - json = { "biome" }, - kdl = { "kdlfmt" }, - lua = { "stylua" }, - markdown = { "rumdl" }, - sql = { "sqruff" }, - toml = { "taplo" }, - typst = { "typstyle" }, - yaml = { "yamlfmt" }, - fish = { "fish-lsp" }, + sql = { "sleek" }, + css = { "biome" }, dockerfile = { "dockerfmt" }, }, diff --git a/.config/nvim/plugin/mason.lua b/.config/nvim/plugin/mason.lua index 7222f35..5e667fe 100644 --- a/.config/nvim/plugin/mason.lua +++ b/.config/nvim/plugin/mason.lua @@ -17,6 +17,23 @@ vim.api.nvim_create_autocmd("VimEnter", { }, }) - require("mason-lspconfig").setup() + require("mason-lspconfig").setup({ + ensure_installed = { + "rumdl", + "bashls", + "denols", + "docker_compose_language_service", + "dockerls", + "elp", + "fish_lsp", + "marksman", + "ols", + "tailwindcss", + "taplo", + "tinymist", + "yamlls", + "zls", + }, + }) end, }) diff --git a/packages.txt b/packages.txt index fd5b324..3786f1b 100644 --- a/packages.txt +++ b/packages.txt @@ -1,6 +1,5 @@ bat bat-extras -biome bluetui btop deno @@ -20,6 +19,7 @@ just keychain localsend lua +lua-language-server luarocks make marksman @@ -33,7 +33,6 @@ rebar3 ripgrep ripgrep-all rumdl -sqruff tailwind-language-server taplo tinymist -- 2.51.2