aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/util.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-01-06 22:26:25 -0800
committerMichael Lingelbach <m.j.lbach@gmail.com>2021-01-08 14:43:36 -0800
commit115f50aa937661c2e0c98a1fc5cf617486160f92 (patch)
treebb0883d9e49d53812e9db8ceb4ae445edb3454f0 /lua/lspconfig/util.lua
parentMerge pull request #560 from mjlbach/readme_tweaks (diff)
downloadnvim-lspconfig-115f50aa937661c2e0c98a1fc5cf617486160f92.tar
nvim-lspconfig-115f50aa937661c2e0c98a1fc5cf617486160f92.tar.gz
nvim-lspconfig-115f50aa937661c2e0c98a1fc5cf617486160f92.tar.bz2
nvim-lspconfig-115f50aa937661c2e0c98a1fc5cf617486160f92.tar.lz
nvim-lspconfig-115f50aa937661c2e0c98a1fc5cf617486160f92.tar.xz
nvim-lspconfig-115f50aa937661c2e0c98a1fc5cf617486160f92.tar.zst
nvim-lspconfig-115f50aa937661c2e0c98a1fc5cf617486160f92.zip
remove deprecated handlers that were moved to neovim core
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 d218b25d..68f5cee2 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!"}