fix(formatters): always select null-ls by default (#1810)

This commit is contained in:
kylo252 2021-10-20 20:01:51 +02:00 committed by GitHub
parent cfdd5e61f9
commit 03e5760e59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View file

@ -4,7 +4,7 @@ local null_ls = require "null-ls"
local services = require "lvim.lsp.null-ls.services"
local Log = require "lvim.core.log"
function M.list_supported_names(filetype)
function M.list_registered_providers(filetype)
local null_ls_methods = require "null-ls.methods"
local formatter_method = null_ls_methods.internal["FORMATTING"]
local registered_providers = services.list_registered_providers_names(filetype)