UPD
This commit is contained in:
parent
f35803ef0b
commit
b61a68c02f
|
|
@ -40,10 +40,10 @@ return { -- Autoformat
|
||||||
jinja2 = { 'djlint' },
|
jinja2 = { 'djlint' },
|
||||||
javascript = { 'prettierd', 'prettier' },
|
javascript = { 'prettierd', 'prettier' },
|
||||||
bash = { 'beautysh', 'shellcheck' },
|
bash = { 'beautysh', 'shellcheck' },
|
||||||
terraform = { 'terraform_fmt'},
|
terraform = { 'terraform_fmt' },
|
||||||
ansible = { 'ansible-lint' },
|
ansible = { 'ansible-lint' },
|
||||||
hcl = { 'hcl' },
|
hcl = { 'hcl' },
|
||||||
markdown = { 'markdownfmt', 'markdownlint' },
|
markdown = { 'markdownlint' },
|
||||||
-- You can use a sub-list to tell conform to run *until* a formatter
|
-- You can use a sub-list to tell conform to run *until* a formatter
|
||||||
-- is found.
|
-- is found.
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -258,6 +258,12 @@ return {
|
||||||
local ensure_installed = vim.tbl_keys(servers or {})
|
local ensure_installed = vim.tbl_keys(servers or {})
|
||||||
vim.list_extend(ensure_installed, {
|
vim.list_extend(ensure_installed, {
|
||||||
'stylua', -- Used to format Lua code
|
'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 }
|
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
||||||
|
|
||||||
|
|
@ -372,7 +378,7 @@ return {
|
||||||
-- the rust implementation via `'prefer_rust_with_warning'`
|
-- the rust implementation via `'prefer_rust_with_warning'`
|
||||||
--
|
--
|
||||||
-- See :h blink-cmp-config-fuzzy for more information
|
-- 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
|
-- Shows a signature help window while you type arguments for a function
|
||||||
signature = { enabled = true },
|
signature = { enabled = true },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue