public SvelteLanguageClientBase(
            IVsFolderWorkspaceService workspaceService,
            TsJsTextBufferManager tsJsTextBufferManager)
        {
            this.workspaceService = workspaceService;
            var middleLayer = new MiddleLayerHost();

            MiddleLayer = middleLayerHost = middleLayer;

            TrackTsJsUpdate(tsJsTextBufferManager);
        }
        private void TrackTsJsUpdate(TsJsTextBufferManager tsJsTextBufferManager)
        {
            // buffers opened before client initialized
            foreach (var item in tsJsTextBufferManager.Buffers)
            {
                TsJsTextBufferManager_BufferRegistered(item);
            }

            tsJsTextBufferManager.BufferRegistered   += TsJsTextBufferManager_BufferRegistered;
            tsJsTextBufferManager.BufferUnRegistered += TsJsTextBufferManager_BufferUnRegistered;
        }