epwalsh / epwalsh/obsidian.nvim
Usage with mdx files
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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