Browse Source

markdown autoindent

imac
Juni Kim 2 years ago
parent
commit
fd7459d1b6
  1. 7
      lua/junikim/options.lua

7
lua/junikim/options.lua

@ -54,6 +54,13 @@ vim.api.nvim_create_autocmd("FileType", {
end end
}) })
vim.api.nvim_create_autocmd("FileType", {
pattern = "markdown",
callback = function(args)
vim.bo.autoindent = true
end
})
vim.api.nvim_create_autocmd("FileType", { vim.api.nvim_create_autocmd("FileType", {
pattern = "go", pattern = "go",
callback = function(args) callback = function(args)

Loading…
Cancel
Save