diff options
Diffstat (limited to 'lua/alpha')
| -rw-r--r-- | lua/alpha/utils.lua | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lua/alpha/utils.lua b/lua/alpha/utils.lua index ee80a1c..b7b0fbc 100644 --- a/lua/alpha/utils.lua +++ b/lua/alpha/utils.lua @@ -1,19 +1,6 @@ local M = {} M.save_and_exec = function() - -- local source_commands = { - -- lua = "luafi %", - -- vim = "source %", - -- } - -- - -- local ft = vim.api.nvim_buf_get_option(0, "filetype") - -- local command = source_commands[ft] - -- if command == nil then - -- vim.notify("This type cant not be sourced", vim.log.levels.ERROR, { title = "Alpha Developer" }) - -- return - -- end - - -- Save and source vim.api.nvim_command "silent w" vim.api.nvim_command "so" |