dotfiles/nvim/plugin/treesitter.lua

14 lines
354 B
Lua
Raw Normal View History

2021-12-13 17:12:11 +00:00
local parser_configs = require('nvim-treesitter.parsers').get_parser_configs()
parser_configs.norg = {
install_info = {
url = "https://github.com/nvim-neorg/tree-sitter-norg",
files = { "src/parser.c", "src/scanner.cc" },
branch = "main"
},
}
require('nvim-treesitter.configs').setup {
ensure_installed = { "norg" }
}