Skip to content
Snippets Groups Projects
Commit 86855210 authored by codecraft's avatar codecraft :crocodile:
Browse files

Add python formatter

parent d73aea88
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,8 @@ local augroup = vim.api.nvim_create_augroup("LspFormatting", {})
local formatters_linters = {
prettier = {},
erb_lint = {},
rustfmt = {},
black = {},
}
mason_null_ls.setup({
......@@ -18,8 +18,8 @@ mason_null_ls.setup({
null_ls.setup ({
sources = {
formatting.prettier,
diagnostics.erb_lint,
formatting.rustfmt,
formatting.black,
},
on_attach = function(current_client, bufnr)
if current_client.supports_method("textDocument/formatting") then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment