diff --git a/src/pages/index.astro b/src/pages/index.astro
index 55a1565..f2b3787 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -52,6 +52,13 @@ const annotationCount = annotationsPage
+
+
The Lua Language Server uses the {
+ const target = window.location.hash;
+ if (target) {
+ const tabName = target.replace("#", "");
+ const tab = document.querySelector(`#install .tab-content #${tabName}`);
+ if (tab) {
+ setTabActive(tabName);
+ tabs[tabName].content?.scrollIntoView();
+ }
}
- }
+ };
+
+ onHashChange();
+ window.addEventListener("hashchange", onHashChange);