Compare commits

...

3 commits

Author SHA1 Message Date
a1a8d596ed
flake: rustaceanvim 2024-11-09 -> 2024-11-25 2024-11-26 09:41:41 +03:00
Soliprem
d821882f00 typst: complying with review 2024-11-26 09:38:51 +03:00
Soliprem
26bb56eba8 languages/typst: fixed callback error with non-english characters 2024-11-26 09:38:51 +03:00
2 changed files with 11 additions and 5 deletions

6
flake.lock generated
View file

@ -1713,11 +1713,11 @@
"plugin-rustaceanvim": {
"flake": false,
"locked": {
"lastModified": 1731172933,
"narHash": "sha256-B2AdSgGPANCBbVN+Sd7gvJ16ODZZwv4WSOxnRs3SWnk=",
"lastModified": 1732565373,
"narHash": "sha256-WRaNW0trZYEUKd05Uc+5nP+G81HI14d6lM7/WWz61E0=",
"owner": "mrcjkb",
"repo": "rustaceanvim",
"rev": "244443311f1c4e34ec1ea7f219a4b682b6ec066e",
"rev": "fee0aa094b0c9f93fffe5a385b3d5d2386c2b072",
"type": "github"
},
"original": {

View file

@ -21,7 +21,10 @@
lspConfig = ''
lspconfig.typst_lsp.setup {
capabilities = capabilities,
on_attach = default_on_attach,
on_attach = function(client, bufnr)
-- Disable semantic tokens as a workaround for a semantic token error when using non-english characters
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 as a workaround for a semantic token error when using non-english characters
client.server_capabilities.semanticTokensProvider = nil
end,
cmd = ${
if isList cfg.lsp.package
then expToLua cfg.lsp.package