Juni Kim 1 year ago
parent
commit
49f9461cde
  1. 10
      lua/junikim/options.lua

10
lua/junikim/options.lua

@ -55,6 +55,16 @@ vim.api.nvim_create_autocmd(
} }
) )
vim.api.nvim_create_autocmd(
{ "BufRead", "BufNewFile" },
{
pattern = { "*.mdx", "*.md" },
callback = function(args)
vim.bo.filetype = "markdown"
end
}
)
vim.api.nvim_create_autocmd("FileType", { vim.api.nvim_create_autocmd("FileType", {
pattern = { "tex", "text" }, pattern = { "tex", "text" },
callback = function(args) callback = function(args)

Loading…
Cancel
Save