Skip to content

Setup treesitter with opts #1695

Closed Answered by Thibaulltt
realguse asked this question in Q&A
Jul 30, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

It should also be possible with the 'main' field in the LazySpec :

return {
    'nvim-treesitter/nvim-treesitter',
    build = ':TSUpdate',
    main = 'nvim-treesitter.configs',
    opts = {
        -- ...your options here...
    },
}

From the documentation: https://lazy.folke.io/spec#spec-setup

Replies: 2 comments 3 replies

Comment options

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

@realguse
Comment options

Comment options

You must be logged in to vote
1 reply
@iton0
Comment options

Answer selected by realguse
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