From 0c664cf563d00c600974eb0d4a9e7bfe4a67b186 Mon Sep 17 00:00:00 2001 From: siph Date: Sun, 22 Sep 2024 12:50:05 -0600 Subject: [PATCH] fix highlight not auto-enabling --- config/core/core.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/core/core.nix b/config/core/core.nix index 1897cbd..55867c6 100644 --- a/config/core/core.nix +++ b/config/core/core.nix @@ -77,6 +77,16 @@ pattern = "nix"; command = "setlocal tabstop=2 shiftwidth=2 softtabstop=2"; } + { + event = "FileType"; + pattern = "nu"; + command = "TSEnable highlight"; + } + { + event = "FileType"; + pattern = "surql"; + command = "TSEnable highlight"; + } ]; }; }