aboutsummaryrefslogtreecommitdiff
path: root/lua/user
diff options
context:
space:
mode:
Diffstat (limited to 'lua/user')
-rw-r--r--lua/user/utils.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/lua/user/utils.lua b/lua/user/utils.lua
index 08dba6f..07867a4 100644
--- a/lua/user/utils.lua
+++ b/lua/user/utils.lua
@@ -40,19 +40,6 @@ end
--------------------------------------------------
---- Unload lua namespace
-M['unload_lua_namespace'] = function(prefix)
- local prefix_with_dot = prefix .. '.'
- for key, value in pairs(package.loaded) do
- if key == prefix or key:sub(1, #prefix_with_dot) == prefix_with_dot then
- package.loaded[key] = nil
- end
- end
-end
-
-
---------------------------------------------------
-
--- Toggle cmp completion
vim.g.cmp_toggle_flag = false -- initialize
local normal_buftype = function()