diff options
| author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-11-08 23:13:05 +0100 |
|---|---|---|
| committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-11-08 23:13:05 +0100 |
| commit | c9e2adbbc8fd7a5398c8c66d21f0e02dc7b60203 (patch) | |
| tree | 274263ba15e0197180af8bb681e22c4780d5de05 /.config/nvim/lua/lsp/null-ls/linters.lua | |
| parent | e4ea22e223bbd6b4091610c6fa093862cbd32f75 (diff) | |
Add new lunarvin updates
Diffstat (limited to '.config/nvim/lua/lsp/null-ls/linters.lua')
| -rw-r--r-- | .config/nvim/lua/lsp/null-ls/linters.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/nvim/lua/lsp/null-ls/linters.lua b/.config/nvim/lua/lsp/null-ls/linters.lua index 3f834ba..85555ba 100644 --- a/.config/nvim/lua/lsp/null-ls/linters.lua +++ b/.config/nvim/lua/lsp/null-ls/linters.lua @@ -4,7 +4,7 @@ local null_ls = require "null-ls" local services = require "lsp.null-ls.services" local Log = require "core.log" -function M.list_supported_names(filetype) +function M.list_registered_providers(filetype) local null_ls_methods = require "null-ls.methods" local linter_method = null_ls_methods.internal["DIAGNOSTICS"] local registered_providers = services.list_registered_providers_names(filetype) @@ -24,6 +24,7 @@ function M.list_available(filetype) end end + table.sort(linters) return linters end |