From 65bb7aa034fc727ad3803b7f91814353f455c16e Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 18 Feb 2025 21:24:01 +0100 Subject: [PATCH] nvim: Add djot filetype detection --- nvim/.config/nvim/ftdetect/djot.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 nvim/.config/nvim/ftdetect/djot.lua diff --git a/nvim/.config/nvim/ftdetect/djot.lua b/nvim/.config/nvim/ftdetect/djot.lua new file mode 100644 index 0000000..d8837d1 --- /dev/null +++ b/nvim/.config/nvim/ftdetect/djot.lua @@ -0,0 +1,7 @@ +-- Set filetypes for 'djot' - an update markdown alternative +-- https://github.com/jgm/djot +vim.filetype.add({ + extension = { + dj = "djot", + }, +})