mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 18:46:29 +03:00
LSP Client advances. Some LSPs are responding fine.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "lspclientserver.hpp"
|
||||
#include <eepp/system/filesystem.hpp>
|
||||
#include <eepp/system/iostreamstring.hpp>
|
||||
#include <eepp/system/log.hpp>
|
||||
|
||||
using namespace EE::System;
|
||||
|
||||
@@ -12,6 +13,8 @@ LSPDocumentClient::LSPDocumentClient( LSPClientServer* server, TextDocument* doc
|
||||
notifyOpen();
|
||||
}
|
||||
|
||||
LSPDocumentClient::~LSPDocumentClient() {}
|
||||
|
||||
void LSPDocumentClient::onDocumentTextChanged() {
|
||||
mModified = true;
|
||||
++mVersion;
|
||||
@@ -35,7 +38,6 @@ void LSPDocumentClient::onDocumentSaved( TextDocument* ) {
|
||||
|
||||
void LSPDocumentClient::onDocumentClosed( TextDocument* ) {
|
||||
mServer->didClose( mDoc );
|
||||
mDoc = nullptr;
|
||||
}
|
||||
|
||||
void LSPDocumentClient::onDocumentDirtyOnFileSystem( TextDocument* ) {}
|
||||
|
||||
Reference in New Issue
Block a user