feat: basic nvim-dap setup
This commit is contained in:
parent
09e5cd383f
commit
8f0b088886
4 changed files with 39 additions and 1 deletions
nvim/lua/user
8
nvim/lua/user/file_exists.lua
Normal file
8
nvim/lua/user/file_exists.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
local F = {}
|
||||
|
||||
function F.file_exists(name)
|
||||
local f=io.open(name,"r")
|
||||
if f~=nil then io.close(f) return true else return false end
|
||||
end
|
||||
|
||||
return F
|
Loading…
Add table
Add a link
Reference in a new issue