From d821882f0024f7f27918666261efe5bc6070b168 Mon Sep 17 00:00:00 2001 From: Soliprem <73885403+Soliprem@users.noreply.github.com> Date: Tue, 26 Nov 2024 05:33:54 +0100 Subject: [PATCH] typst: complying with review --- modules/plugins/languages/typst.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/plugins/languages/typst.nix b/modules/plugins/languages/typst.nix index 510b70cd..fbb090e8 100644 --- a/modules/plugins/languages/typst.nix +++ b/modules/plugins/languages/typst.nix @@ -22,7 +22,7 @@ lspconfig.typst_lsp.setup { capabilities = capabilities, on_attach = function(client, bufnr) - -- Disable semantic tokens if the issue persists + -- Disable semantic tokens as a workaround for a semantic token error when using non-english characters client.server_capabilities.semanticTokensProvider = nil end, cmd = ${ @@ -40,7 +40,7 @@ capabilities = capabilities, single_file_support = true, on_attach = function(client, bufnr) - -- Disable semantic tokens if the issue persists + -- Disable semantic tokens as a workaround for a semantic token error when using non-english characters client.server_capabilities.semanticTokensProvider = nil end, cmd = ${