Skip to content

Commit

Permalink
dev on pandoc markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Dec 20, 2024
1 parent ce71177 commit 7722c0d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@
-- (may be outdated with newer versions of the plugins,
-- check for yourself if you're interested in using them)


vim.treesitter.language.add('pandoc_markdown', { path = "/usr/local/lib/libtree-sitter-pandoc-markdown.so" })
vim.treesitter.language.add('pandoc_markdown_inline', { path = "/usr/local/lib/libtree-sitter-pandoc-markdown-inline.so" })
vim.treesitter.language.register('pandoc_markdown', { 'quarto', 'rmarkdown' })

-- vim.treesitter.language.register("markdown", 'quarto')
-- vim.treesitter.language.register("markdown", 'text')

require 'config.global'
require 'config.lazy'
require 'config.autocommands'
require 'config.redir'


-- vim.treesitter.language.add('pandoc_markdown', { path = "/usr/local/lib/libtree-sitter-pandoc-markdown.so" })
-- vim.treesitter.language.add('pandoc_markdown_inline', { path = "/usr/local/lib/libtree-sitter-pandoc-markdown-inline.so" })
-- vim.treesitter.language.register('pandoc_markdown', { 'quarto', 'rmarkdown' })

vim.treesitter.language.register("markdown", 'quarto')
vim.treesitter.language.register("markdown", 'text')

2 changes: 1 addition & 1 deletion lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ return {

-- for lsp features in code cells / embedded code
'jmbuhr/otter.nvim',
dev = false,
dev = true,
dependencies = {
{
'neovim/nvim-lspconfig',
Expand Down

0 comments on commit 7722c0d

Please sign in to comment.