diff options
Diffstat (limited to 'lua')
-rw-r--r-- | lua/ale/diagnostics.lua (renamed from lua/diagnostics.lua) | 0 | ||||
-rw-r--r-- | lua/ale/util.lua | 14 |
2 files changed, 14 insertions, 0 deletions
diff --git a/lua/diagnostics.lua b/lua/ale/diagnostics.lua index 21f81e2a..21f81e2a 100644 --- a/lua/diagnostics.lua +++ b/lua/ale/diagnostics.lua diff --git a/lua/ale/util.lua b/lua/ale/util.lua new file mode 100644 index 00000000..98b3bbd9 --- /dev/null +++ b/lua/ale/util.lua @@ -0,0 +1,14 @@ +local M = {} + +function M.configured_lspconfig_servers() + local configs = require 'lspconfig.configs' + local keys = {} + + for key, _ in pairs(configs) do + table.insert(keys, key) + end + + return keys +end + +return M |