diff --git a/README.md b/README.md index acd1b23..a096bfc 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,9 @@ I want it to be easy to look through and understand. The files are organized as such inside the `lua` folder: `core/`: Any component of the config that I absolutely must have in any system for the rest of time. + `core/plugins`: Necessarry plugins such as mason, tree sitter and such. + `optional`: Anything that I could remove and live without. ## Installation diff --git a/init.lua b/init.lua index 83d2fe2..43b1405 100644 --- a/init.lua +++ b/init.lua @@ -1,6 +1,5 @@ -- Import vim options and such require 'core.options' -require 'core.keymaps' require 'core.autocommands' -- Bootstrap lazy.nvim @@ -88,3 +87,6 @@ require('lazy').setup({ }, }, }) +-- Import keymaps after plugins so we don't get +-- any "Module not found" errors +require 'core.keymaps'