1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-01 20:59:26 +00:00

[neovim] Improve some linting experience

This commit is contained in:
2022-11-17 19:58:39 +01:00
parent 310fa9c7d7
commit 7a47f64b8f
5 changed files with 22 additions and 10 deletions

View File

@ -1,11 +1,12 @@
local servers = {
"sumneko_lua",
"gopls",
"pyright",
"bashls",
"jsonls",
"yamlls",
"ansiblels",
"bashls",
"gopls",
"jsonls",
"kotlin_language_server",
"pyright",
"sumneko_lua",
"yamlls",
}
local settings = {

View File

@ -13,7 +13,8 @@ null_ls.setup({
sources = {
formatting.black.with({ extra_args = { "--fast" } }),
formatting.stylua,
diagnostics.golangci_lint.with({ extra_args = { "--fast" } }),
formatting.prettier,
-- diagnostics.golangci_lint.with({ extra_args = { "--fast" } }),
diagnostics.cfn_lint,
diagnostics.hadolint,
diagnostics.markdownlint,

View File

@ -0,0 +1,9 @@
return {
settings = {
redhat = {
telemetry = {
enabled = false,
},
},
},
}

View File

@ -31,6 +31,7 @@ local filetype = {
local lsp_progress = {
"lsp_progress",
display_components = { "spinner" },
spinner_symbols = { "⠈⠁", "⠈⠑", "⠈⠱", "⠈⡱", "⢀⡱", "⢄⡱" },
}
local spaces = function()