nvim: Use markdown ftplugin for djot as well

Simply import the markdown settings. We have to make use of the vim cmd
runtime (suggested here:
https://reddit.com/r/neovim/comments/ykpnob/require_one_ftpluginftlua_into_another/)
since lua requires cannot (afaik) exit the lua folder in the config
directory.
This commit is contained in:
Marty Oehme 2025-07-16 17:52:24 +02:00
parent c26ef032d2
commit be9b5b9297
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -0,0 +1,2 @@
-- just copy markdown settings
vim.cmd.runtime({"after/ftplugin/markdown.lua", bang=true})