Improve highlighting structure
- switched to a sparse delta based map - true lazy-loading to avoid any unneccessary allocations - fixed windows management api
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define EDITOR_H
|
||||
|
||||
#include "editor/indents.h"
|
||||
#include "extentions/hover.h"
|
||||
#include "io/knot.h"
|
||||
#include "io/sysio.h"
|
||||
#include "syntax/extras.h"
|
||||
@@ -37,7 +38,7 @@ struct Editor : Window {
|
||||
VAI ai = {};
|
||||
std::shared_mutex lsp_mtx;
|
||||
std::atomic<struct LSPInstance *> lsp = nullptr;
|
||||
bool hover_active = false;
|
||||
HoverBox *hover_popup = init_hover();
|
||||
bool diagnostics_active = false;
|
||||
std::atomic<int> lsp_version = 1;
|
||||
IndentationEngine indents = {};
|
||||
|
||||
Reference in New Issue
Block a user