epwalsh / epwalsh/obsidian.nvim

Usage with mdx files

Open
#370 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

contributions welcome documentation
Dominant language
Lua
Stars
6.2k
Forks
250
PR merge metrics
No merged PRs in 30d

Description

Hi, thank you for your work. I would like to use your plugin against *.mdx files.

In my Treesitter config, I have this setting :

    vim.filetype.add({
      extension = {
        mdx = "mdx",
      },
    })
    vim.treesitter.language.register("markdown", "mdx")

I guess, I have to tweak the ft option, right ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the plugin's ft option and the shown vim.filetype.add and vim.treesitter.language.register configuration. Check how the plugin identifies filetypes and verify that buffers using mdx are handled correctly; the issue is done when the requested MDX setup works.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, markdown, neovim
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.