Files
nvim-dotfiles/init.lua
T

18 lines
517 B
Lua

-- Entry point. Everything lives under lua/ (see README.md for the map).
if vim.fn.has 'nvim-0.11' == 0 then
local v = vim.version()
vim.api.nvim_echo({
{ ('This config needs Neovim >= 0.11 (running %d.%d.%d). Run scripts/install-nvim.sh.\n'):format(v.major, v.minor, v.patch), 'ErrorMsg' },
}, true, {})
return
end
require 'options'
require 'keymaps'
require 'autocmds'
require 'bootstrap'
-- Optional per-machine overrides (git-ignored). Create lua/local.lua if you need one.
pcall(require, 'local')