1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-03 13:29:24 +00:00

[neovim] Move utils to a external file

This commit is contained in:
2024-06-14 18:17:02 +02:00
parent 25e8eaed6e
commit 42647db6d2
5 changed files with 43 additions and 51 deletions

View File

@ -0,0 +1,10 @@
local M = {}
M.read = function(file)
local fd = assert(io.open(file, "r"))
local data = fd:read("*a")
fd:close()
return data
end
return M