if vim.fn.has('nvim-0.12') == 0 then error('This config requires Neovim 0.12 or newer') end if #vim.api.nvim_list_uis() == 0 then require('setup') return end vim.env.PATH = vim.fn.stdpath('data') .. '/mason/bin:' .. vim.env.PATH require('core.options') require('core.filetypes') require('core.keymaps') require('core.events')