aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/util.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-01-15 10:31:37 -0800
committerGitHub <noreply@github.com>2021-01-15 10:31:37 -0800
commit325fb3f1635b4ed5b3ae37eb423eab53fe805b2e (patch)
treedee53ca0dbaf4c0941ebdbf28554cd93c7fb40db /lua/lspconfig/util.lua
parentMerge pull request #670 from mjlbach/add_executable_check (diff)
parentremove deprecated handlers that were moved to neovim core (diff)
downloadnvim-lspconfig-325fb3f1635b4ed5b3ae37eb423eab53fe805b2e.tar
nvim-lspconfig-325fb3f1635b4ed5b3ae37eb423eab53fe805b2e.tar.gz
nvim-lspconfig-325fb3f1635b4ed5b3ae37eb423eab53fe805b2e.tar.bz2
nvim-lspconfig-325fb3f1635b4ed5b3ae37eb423eab53fe805b2e.tar.lz
nvim-lspconfig-325fb3f1635b4ed5b3ae37eb423eab53fe805b2e.tar.xz
nvim-lspconfig-325fb3f1635b4ed5b3ae37eb423eab53fe805b2e.tar.zst
nvim-lspconfig-325fb3f1635b4ed5b3ae37eb423eab53fe805b2e.zip
Merge pull request #509 from mjlbach/remove_deprecated_handlers
Remove deprecated handlers
Diffstat (limited to 'lua/lspconfig/util.lua')
-rw-r--r--lua/lspconfig/util.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/lua/lspconfig/util.lua b/lua/lspconfig/util.lua
index 607fbad8..16602e04 100644
--- a/lua/lspconfig/util.lua
+++ b/lua/lspconfig/util.lua
@@ -87,16 +87,6 @@ function M.nvim_multiline_command(command)
end
end
-function M.lookup_section(settings, section)
- for part in vim.gsplit(section, '.', true) do
- settings = settings[part]
- if not settings then
- return
- end
- end
- return settings
-end
-
function M.create_module_commands(module_name, commands)
for command_name, def in pairs(commands) do
local parts = {"command!"}