Skip to content

how to configure preferred compiler for treesitter #1041

Closed Answered by Jint-lzxy
rickywu asked this question in Q&A
Discussion options

You must be logged in to vote
return function(defaults)
	require 'nvim-treesitter.install'.compilers = { "clang" }
	-- Return `defaults` ​​for further processing
	return defaults
end

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rickywu
Comment options

@CharlesChiuGit
Comment options

Answer selected by rickywu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants