Skip to content

Highlighting and auto completion does not seem to work #77

Answered by mrossinek
kanodiaayush asked this question in Q&A
Discussion options

You must be logged in to vote

Can you double check that you have configured the norg treesitter parser according to the README as follows?

local parser_configs = require('nvim-treesitter.parsers').get_parser_configs()

parser_configs.norg = {
    install_info = {
        url = "https://github.com/vhyrro/tree-sitter-norg",
        files = { "src/parser.c", "src/scanner.cc" },
        branch = "main"
    },
}

This is a lua snippet so if you want to place this inside a .vim file you need to place it in a lua << EOF ... EOF block.

Replies: 2 comments 8 replies

Comment options

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

Comment options

You must be logged in to vote
7 replies
@vhyrro
Comment options

@kanodiaayush
Comment options

@kanodiaayush
Comment options

@mrossinek
Comment options

@kanodiaayush
Comment options

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