Rebuilding config
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
local M = {}
|
||||
|
||||
M.set_port = function(port)
|
||||
default_port = '7070'
|
||||
if port ~= nil then
|
||||
default_port = port
|
||||
end
|
||||
|
||||
return default_port
|
||||
end
|
||||
|
||||
M.start = function(port)
|
||||
default_port = M.set_port(port)
|
||||
-- Create autocmd for execute cmd when autosave
|
||||
end
|
||||
|
||||
M.file_saved = function()
|
||||
local ouput = vim.fn.system('ls -l')
|
||||
print(output)
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user