local api = vim.api api.nvim_create_autocmd( "FileType", { pattern = "markdown", command = "setlocal spell" } ) api.nvim_create_autocmd( "FileType", { pattern = "markdown", command = "setlocal complete+=kspell" } ) api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, { pattern = "*.mcfunction", command = "set filetype=mcfunction" } ) api.nvim_create_autocmd({ "VimEnter" }, { callback = require('lualine').setup } )