revert change to godot server section
This commit is contained in:
parent
8ec34982cd
commit
fe72847a40
1
init.lua
1
init.lua
|
|
@ -963,6 +963,7 @@ require('lazy').setup({
|
||||||
-- FIX: godot-server: should check if the server is already running first...
|
-- FIX: godot-server: 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
|
||||||
|
|
||||||
-- The line beneath this is called `modeline`. See `:help modeline`
|
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue