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:
parent
c26ef032d2
commit
be9b5b9297
1 changed files with 2 additions and 0 deletions
2
nvim/.config/nvim/after/ftplugin/djot.lua
Normal file
2
nvim/.config/nvim/after/ftplugin/djot.lua
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-- just copy markdown settings
|
||||
vim.cmd.runtime({"after/ftplugin/markdown.lua", bang=true})
|
||||
Loading…
Add table
Add a link
Reference in a new issue