remove logging logic
This commit is contained in:
parent
8409669772
commit
0800f2d994
8
init.lua
8
init.lua
|
|
@ -878,17 +878,11 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- FIX: godot-server: this is preventing multiple nvim sessions from running at the same time
|
-- FIX: godot-server: should check if the server is already running first...
|
||||||
-- FIX: godot-server: might be launching the server despite not being in a godot directory?
|
|
||||||
-- FIX: godot-server: Also, it really should check if the server is already running first...
|
|
||||||
local gdprojectfilepath = vim.fn.getcwd() .. '/project.godot'
|
local gdprojectfilepath = vim.fn.getcwd() .. '/project.godot'
|
||||||
local isInGdDirectory = vim.fn.filereadable(gdprojectfilepath) == 1
|
local isInGdDirectory = vim.fn.filereadable(gdprojectfilepath) == 1
|
||||||
|
|
||||||
if isInGdDirectory then vim.fn.serverstart '127.0.0.1:55432' end
|
if isInGdDirectory then vim.fn.serverstart '127.0.0.1:55432' end
|
||||||
|
|
||||||
--TODO: godot-server: delete logging logic
|
|
||||||
if isInGdDirectory then print 'running in gd project file' end
|
|
||||||
print(vim.fn.filereadable(gdprojectfilepath))
|
|
||||||
|
|
||||||
-- The line beneath this is called `modeline`. See `:help modeline`
|
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||||
-- vim: ts=2 sts=2 sw=2 et
|
-- vim: ts=2 sts=2 sw=2 et
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue