-- reviewed against nvim 0.12 defaults: the options in core.lua are intentional -- non-defaults ( backup, undofile, confirm, smartcase, mouse=a, winborder, etc ). -- nothing to strip here. -- -- keymaps sets leader key. needs to be early require 'bugabinga.options.keymaps' require 'bugabinga.options.filetypes' require 'bugabinga.options.core' -- ftplugin kill must load synchronously too: it disables the vimscript -- filetype loaders and registers our lua replacement before the first -- FileType event fires during startup. require 'bugabinga.options.ftplugin' -- behaviour must load synchronously so its BufReadPost autocmds are registered -- before the first file is loaded ( BufReadPost fires during startup, not after ) require 'bugabinga.options.behaviour' vim.schedule( function () require 'bugabinga.options.commands' require 'bugabinga.options.menus' require 'bugabinga.options.shell' require 'bugabinga.options.win32' require 'bugabinga.options.neovide' require 'bugabinga.options.tty' require 'bugabinga.options.grep' end )