From 16f394a68c63c2ad1287b83251d7564bb6e751fc Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Fri, 25 Aug 2023 16:18:26 +0200 Subject: small updates --- lua/alpha/utils.lua | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lua/alpha/utils.lua') 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" -- cgit v1.2.3