From c2a93f51705c4e5fbb75d3218758c018138ce1ca Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 9 Aug 2024 21:27:13 +0200 Subject: nvim: Add missing runtime files --- .config/nvim/after/ftdetect/oryx.lua | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .config/nvim/after/ftdetect/oryx.lua (limited to '.config/nvim/after/ftdetect/oryx.lua') diff --git a/.config/nvim/after/ftdetect/oryx.lua b/.config/nvim/after/ftdetect/oryx.lua new file mode 100644 index 0000000..c3647c5 --- /dev/null +++ b/.config/nvim/after/ftdetect/oryx.lua @@ -0,0 +1,6 @@ +vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, { + pattern = '*.yx', + callback = function() + vim.bo.filetype = 'oryx' + end, +}) -- cgit v1.2.3