diff --git a/init.lua b/init.lua index 4afa710..72082bb 100644 --- a/init.lua +++ b/init.lua @@ -3,6 +3,7 @@ require "user.keymaps" require "user.plugins" require "user.autocommands" require "user.colorscheme" +require "user.exrc" require "user.cmp" require "user.telescope" require "user.gitsigns" diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua index e5151d3..290d01f 100644 --- a/lua/user/plugins.lua +++ b/lua/user/plugins.lua @@ -102,20 +102,7 @@ return packer.startup(function(use) use { "rcarriga/nvim-dap-ui", commit = "d76d6594374fb54abf2d94d6a320f3fd6e9bb2f7" } use { "ravenxrz/DAPInstall.nvim", commit = "8798b4c36d33723e7bba6ed6e2c202f84bb300de" } - use { - "klen/nvim-config-local", - config = function() - require('config-local').setup { - -- Default configuration (optional) - config_files = { ".nvimrc.lua" }, -- Config file patterns to load (lua supported) - hashfile = vim.fn.stdpath("data") .. "/config-local", -- Where the plugin keeps files data - autocommands_create = false, -- Create autocommands (VimEnter, DirectoryChanged) - commands_create = false, -- Create commands (ConfigSource, ConfigEdit, ConfigTrust, ConfigIgnore) - silent = true, -- Disable plugin messages (Config loaded/ignored) - lookup_parents = false, -- Lookup config files in parent directories - } - end - } + use { "MunifTanjim/exrc.nvim" } -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins