mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 05:19:48 +01:00
languages/typst: fixed callback error with non-english characters
This commit is contained in:
parent
8c95b996c7
commit
26bb56eba8
1 changed files with 8 additions and 2 deletions
|
@ -21,7 +21,10 @@
|
|||
lspConfig = ''
|
||||
lspconfig.typst_lsp.setup {
|
||||
capabilities = capabilities,
|
||||
on_attach = default_on_attach,
|
||||
on_attach = function(client, bufnr)
|
||||
-- Disable semantic tokens if the issue persists
|
||||
client.server_capabilities.semanticTokensProvider = nil
|
||||
end,
|
||||
cmd = ${
|
||||
if isList cfg.lsp.package
|
||||
then expToLua cfg.lsp.package
|
||||
|
@ -36,7 +39,10 @@
|
|||
lspconfig.tinymist.setup {
|
||||
capabilities = capabilities,
|
||||
single_file_support = true,
|
||||
on_attach = default_on_attach,
|
||||
on_attach = function(client, bufnr)
|
||||
-- Disable semantic tokens if the issue persists
|
||||
client.server_capabilities.semanticTokensProvider = nil
|
||||
end,
|
||||
cmd = ${
|
||||
if isList cfg.lsp.package
|
||||
then expToLua cfg.lsp.package
|
||||
|
|
Loading…
Reference in a new issue