mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
16 lines
430 B
Lua
16 lines
430 B
Lua
local ok, parser_configs = pcall(require, 'nvim-treesitter.parsers')
|
|
if not ok then return end
|
|
|
|
local parser_configs = parser_configs.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" }
|
|
}
|