mirror of https://github.com/LazyVim/starter
12 lines
386 B
Lua
12 lines
386 B
Lua
-- Autocmds are automatically loaded on the VeryLazy event
|
|
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
|
|
--
|
|
-- Add any additional autocmds here
|
|
-- Disable autoformat for json files
|
|
vim.api.nvim_create_autocmd({ "FileType" }, {
|
|
pattern = { "json" },
|
|
callback = function()
|
|
vim.b.autoformat = false
|
|
end,
|
|
})
|