Highlighting and auto completion does not seem to work #77
-
highlighting and auto completion does not seem to work in neorg as suggested towards the end of the README I am not getting suggestions to auto complete check box styles for example, only very basic auto complete. Further, no highlighting. What am I missing? I followed all instructions on the README, and installed and configured TreeSitter. It looks like it is working (highlights) for eg for python scripts though Please let me know if i need to add config information from init.vim . I have nvim 0.5 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
About highlighting, did you put the language name after the
|
Beta Was this translation helpful? Give feedback.
-
Can you double check that you have configured the 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 |
Beta Was this translation helpful? Give feedback.
Can you double check that you have configured the
norg
treesitter parser according to the README as follows?This is a lua snippet so if you want to place this inside a
.vim
file you need to place it in alua << EOF ... EOF
block.