From 9ae34eb739f1b65423df8e527b6b9131ca4de80e Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 26 Jul 2023 09:59:44 -0400 Subject: [PATCH] neovim: Add syntax highlighting to mdx files --- home/neovim.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/neovim.nix b/home/neovim.nix index 3e2cc39..d0b2086 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -159,6 +159,8 @@ in autocmd VimEnter * silent! :cd `git rev-parse --show-toplevel` tnoremap + + autocmd BufNewFile,BufRead *.mdx set filetype=markdown ''; plugins = with pkgs.vimPlugins; [