chore: make lsp happier
This commit is contained in:
		@@ -91,7 +91,7 @@ return {
 | 
				
			|||||||
          function() require("astrolsp.toggles").buffer_semantic_tokens() end,
 | 
					          function() require("astrolsp.toggles").buffer_semantic_tokens() end,
 | 
				
			||||||
          desc = "Toggle LSP semantic highlight (buffer)",
 | 
					          desc = "Toggle LSP semantic highlight (buffer)",
 | 
				
			||||||
          cond = function(client)
 | 
					          cond = function(client)
 | 
				
			||||||
            return client.supports_method "textDocument/semanticTokens/full" and vim.lsp.semantic_tokens
 | 
					            return client.supports_method "textDocument/semanticTokens/full" and vim.lsp.semantic_tokens ~= nil
 | 
				
			||||||
          end,
 | 
					          end,
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user