diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-08-25 16:18:26 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-08-25 16:18:26 +0200 |
| commit | 16f394a68c63c2ad1287b83251d7564bb6e751fc (patch) | |
| tree | 01066fc417a1d95ea555a27b569b33a772caecec /lua/alpha/utils.lua | |
| parent | 3b7bf6fe1daf3960c9b2ccfe5eb137e236c03886 (diff) | |
| download | nvim-conf-16f394a68c63c2ad1287b83251d7564bb6e751fc.tar.gz nvim-conf-16f394a68c63c2ad1287b83251d7564bb6e751fc.zip | |
small updates
Diffstat (limited to 'lua/alpha/utils.lua')
| -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" |