From 7dc1dd64428400035b33e45c58b9d237b7745b12 Mon Sep 17 00:00:00 2001 From: Georgi Dimitrov Date: Fri, 22 Nov 2024 12:32:16 +0200 Subject: [PATCH] neovim: add ndjson filetype detection --- nvim/ftdetect/ndjson.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 nvim/ftdetect/ndjson.lua diff --git a/nvim/ftdetect/ndjson.lua b/nvim/ftdetect/ndjson.lua new file mode 100644 index 00000000..0ed38929 --- /dev/null +++ b/nvim/ftdetect/ndjson.lua @@ -0,0 +1,5 @@ +vim.filetype.add({ + pattern = { + ['.*/.*ndjson.*'] = 'json', + }, +})