summaryrefslogtreecommitdiff
path: root/lua/talha/functions.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/talha/functions.lua')
-rw-r--r--lua/talha/functions.lua21
1 files changed, 0 insertions, 21 deletions
diff --git a/lua/talha/functions.lua b/lua/talha/functions.lua
index ff320e3..2a26483 100644
--- a/lua/talha/functions.lua
+++ b/lua/talha/functions.lua
@@ -63,24 +63,3 @@ function SafeCListNav(navdir)
return nil
end
end
-
-function MakeTags()
- local on_exit = function(obj)
- print('re-generated tags')
- end
-
- vim.system({'ctags', '-R', '.'}, {text = true}, on_exit)
-end
-
-function LoadSnippet(stype)
- local ft = '.lua'
- local buft = vim.bo.filetype
- if buft == 'cpp' then
- ft = '.c'
- else
- ft = '.' .. vim.bo.filetype
- end
- vim.cmd.read {
- GetHomeDir() .. '/.config/nvim/snippets/' .. stype .. ft
- }
-end