Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yash268925 committed Sep 29, 2023
1 parent b8a4ed6 commit a38f5e5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions lua/startup/treesitter.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
local parser_config = require "nvim-treesitter.parsers".get_parser_configs()

parser_config.markdown = {
install_info = {
url = "https://github.com/ibash/tree-sitter-markdown.git",
location = "tree-sitter-markdown",
files = { "src/parser.c", "src/scanner.c" },
revision = "ee0dac39fdbc8da1600756e5a19bf618cd79a47c",
},
maintainers = { "@MDeiml" },
readme_name = "markdown (basic highlighting)",
experimental = true,
}

parser_config.markdown_inline = {
install_info = {
url = "https://github.com/ibash/tree-sitter-markdown.git",
location = "tree-sitter-markdown-inline",
files = { "src/parser.c", "src/scanner.c" },
revision = "ee0dac39fdbc8da1600756e5a19bf618cd79a47c",
},
maintainers = { "@MDeiml" },
readme_name = "markdown_inline (needed for full highlighting)",
experimental = true,
}

local function setup()
require('nvim-treesitter.configs').setup {
ensure_installed = {
Expand Down

0 comments on commit a38f5e5

Please sign in to comment.