From 221e42e30a5df79126adb66ba2da9dd48acd4be2 Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Thu, 19 Jan 2023 12:29:23 +0100 Subject: [PATCH] Add ability to display the Lezer syntax tree for debugging --- src/components/App.vue | 1 + src/components/Editor.vue | 58 +++++++++++++++++++++++++++++++++++---- 2 files changed, 53 insertions(+), 6 deletions(-) diff --git a/src/components/App.vue b/src/components/App.vue index fd81567..b9feee3 100644 --- a/src/components/App.vue +++ b/src/components/App.vue @@ -84,6 +84,7 @@ @cursorChange="onCursorChange" :theme="theme" :development="development" + :debugSyntaxTree="false" class="editor" ref="editor" @openLanguageSelector="openLanguageSelector" diff --git a/src/components/Editor.vue b/src/components/Editor.vue index 6058e1c..80cf300 100644 --- a/src/components/Editor.vue +++ b/src/components/Editor.vue @@ -1,11 +1,20 @@ -