mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00: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 = '' | ||||||
|         lspconfig.typst_lsp.setup { |         lspconfig.typst_lsp.setup { | ||||||
|           capabilities = capabilities, |           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 = ${ |           cmd = ${ | ||||||
|           if isList cfg.lsp.package |           if isList cfg.lsp.package | ||||||
|           then expToLua cfg.lsp.package |           then expToLua cfg.lsp.package | ||||||
|  | @ -36,7 +39,10 @@ | ||||||
|         lspconfig.tinymist.setup { |         lspconfig.tinymist.setup { | ||||||
|           capabilities = capabilities, |           capabilities = capabilities, | ||||||
|           single_file_support = true, |           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 = ${ |           cmd = ${ | ||||||
|           if isList cfg.lsp.package |           if isList cfg.lsp.package | ||||||
|           then expToLua cfg.lsp.package |           then expToLua cfg.lsp.package | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Soliprem
				Soliprem