diff --git a/scide_scnvim/Classes/Document.sc b/scide_scnvim/Classes/Document.sc index d9be2cf8..1bacb39b 100644 --- a/scide_scnvim/Classes/Document.sc +++ b/scide_scnvim/Classes/Document.sc @@ -1,21 +1,37 @@ -// nvim Document implementation -// -// The following code is copied/adapted from the Document implementation found in ScIDE.sc -// License GPLv3 +// The following code was copied from the LanguageServer.quark implementation +// and adjusted to handle thisProcess.nowExecutingPath for scnvim Document { - classvar current; + classvar initAction; + classvar <>autoRun = true; + classvar implementingClass; - // needed for thisProcess.nowExecutingPath to work.. see Kernel::interpretCmdLine - var quuid, toFrontAction, <>endFrontAction, <>onClose, <>textChangedAction; - *new {|path, dataptr| - ^super.newCopyArgs(path, dataptr); + var path, <>dataptr; + // var