2022-03-03 13:52:43 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
-----------------------------------------------------------
|
|
|
|
|
-- Treesitter configuration file
|
|
|
|
|
----------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
-- Plugin: nvim-treesitter
|
|
|
|
|
-- url: https://github.com/nvim-treesitter/nvim-treesitter
|
2022-07-07 16:45:13 -04:00
|
|
|
local parser_configs = require("nvim-treesitter.parsers").get_parser_configs()
|
2022-03-03 13:52:43 -05:00
|
|
|
|
2022-07-07 16:45:13 -04:00
|
|
|
parser_configs.markdown = {
|
|
|
|
|
install_info = {
|
|
|
|
|
url = "https://github.com/ikatyang/tree-sitter-markdown",
|
|
|
|
|
files = { "src/parser.c", "src/scanner.cc" },
|
|
|
|
|
},
|
|
|
|
|
filetype = "markdown",
|
|
|
|
|
}
|
2022-03-03 13:52:43 -05:00
|
|
|
|
|
|
|
|
require('nvim-treesitter.configs').setup {
|
|
|
|
|
highlight = {
|
|
|
|
|
enable = true,
|
|
|
|
|
},
|
|
|
|
|
}
|