summaryrefslogtreecommitdiffstats
path: root/plugin/99-local.lua
blob: c1eb8f69e162021c7e48f7cdab626d808b45d139 (plain)
1
2
3
4
5
6
7
8
9
10
11
--
-- 99-local.lua
--
-- * Sources `local.lua` from the config directory if it exists (machine-local overrides, untracked).
--   Numbered 99 so it loads after every other plugin file — overrides only stick if they run last.
--

local local_config = vim.fs.joinpath(vim.fn.stdpath("config"), "local.lua")
if vim.uv.fs_stat(local_config) then
	dofile(local_config)
end