From b61a68c02fe8fdbcfcd0977898cf08c0e1b73e99 Mon Sep 17 00:00:00 2001 From: juanito87 Date: Sat, 12 Jul 2025 19:11:22 -0300 Subject: [PATCH] UPD --- lua/plugins_config/conform.lua | 4 ++-- lua/plugins_config/lsp.lua | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lua/plugins_config/conform.lua b/lua/plugins_config/conform.lua index c0684968..683789c0 100644 --- a/lua/plugins_config/conform.lua +++ b/lua/plugins_config/conform.lua @@ -40,10 +40,10 @@ return { -- Autoformat jinja2 = { 'djlint' }, javascript = { 'prettierd', 'prettier' }, bash = { 'beautysh', 'shellcheck' }, - terraform = { 'terraform_fmt'}, + terraform = { 'terraform_fmt' }, ansible = { 'ansible-lint' }, hcl = { 'hcl' }, - markdown = { 'markdownfmt', 'markdownlint' }, + markdown = { 'markdownlint' }, -- You can use a sub-list to tell conform to run *until* a formatter -- is found. }, diff --git a/lua/plugins_config/lsp.lua b/lua/plugins_config/lsp.lua index 79d43fac..df3ba373 100644 --- a/lua/plugins_config/lsp.lua +++ b/lua/plugins_config/lsp.lua @@ -258,6 +258,12 @@ return { local ensure_installed = vim.tbl_keys(servers or {}) vim.list_extend(ensure_installed, { 'stylua', -- Used to format Lua code + 'rustfmt', -- Rust formatter + 'prettier', -- JS/MD formatter + 'black', -- Python formatter + 'isort', + 'shellcheck', + 'markdownlint', }) require('mason-tool-installer').setup { ensure_installed = ensure_installed } @@ -372,7 +378,7 @@ return { -- the rust implementation via `'prefer_rust_with_warning'` -- -- See :h blink-cmp-config-fuzzy for more information - fuzzy = { implementation = 'lua' }, + fuzzy = { implementation = 'prefer_rust_with_warning' }, -- Shows a signature help window while you type arguments for a function signature = { enabled = true },