20 lines
718 B
Lua
20 lines
718 B
Lua
return {
|
|
'klen/nvim-config-local',
|
|
config = function()
|
|
require('config-local').setup({
|
|
-- Default options (optional)
|
|
|
|
-- Config file patterns to load (lua supported)
|
|
config_files = { '.nvim.lua', '.nvimrc', '.exrc' },
|
|
|
|
-- Where the plugin keeps files data
|
|
hashfile = vim.fn.stdpath('data') .. '/config-local',
|
|
|
|
autocommands_create = true, -- Create autocommands (VimEnter, DirectoryChanged)
|
|
commands_create = true, -- Create commands (ConfigLocalSource, ConfigLocalEdit, ConfigLocalTrust, ConfigLocalDeny)
|
|
silent = true, -- Disable plugin messages (Config loaded/denied)
|
|
lookup_parents = false, -- Lookup config files in parent directories
|
|
})
|
|
end,
|
|
}
|