mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 00:49:01 +02:00
10 lines
289 B
Lua
10 lines
289 B
Lua
local null_ls = require("null-ls")
|
|
local M = {}
|
|
|
|
M.list_registered = function(filetype)
|
|
local method = null_ls.methods.FORMATTING
|
|
local registered_providers = require("user.utils.lsp").list_registered_providers_names(filetype)
|
|
return registered_providers[method] or {}
|
|
end
|
|
|
|
return M
|