Skip to content

Commit

Permalink
feat: mdx as markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mutewinter committed Dec 24, 2023
1 parent 23f654d commit 8dbc7e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autocmds.vim
Expand Up @@ -47,5 +47,8 @@ if has('autocmd')

" via https://jdhao.github.io/2020/05/22/highlight_yank_region_nvim
au TextYankPost * silent! lua vim.highlight.on_yank{higroup="IncSearch", timeout=400}

" Highlight .mdx files as markdown
autocmd BufRead,BufNewFile *.mdx set filetype=markdown
augroup END
endif

0 comments on commit 8dbc7e4

Please sign in to comment.