Skip to content

Commit 1d10f13

Browse files
committed
fix: register markdown grammar for quarto and rmd until our own grammar is ready (https://github.com/jmbuhr/tree-sitter-pandoc-markdown) refs jmbuhr/otter.nvim#179
1 parent eed5989 commit 1d10f13

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ftplugin/quarto.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
vim.b.slime_cell_delimiter = '```'
22

3+
-- TODO: Workaround while nvim-treesitter doesn't link those anymore
4+
-- until our ouwn pandoc grammar is ready
5+
vim.treesitter.language.register("markdown", { "quarto", "rmd" })
6+
37
local config = require('quarto.config').config
48
local quarto = require 'quarto'
59

0 commit comments

Comments
 (0)