put the pcalls back just after their sections

This commit is here to have a loading which has clear sections:
- options
- lazy
- keymap
- ...
This commit is contained in:
amtoine 2023-04-04 18:53:56 +02:00
parent 6bd84de77e
commit 974aee5764
No known key found for this signature in database
GPG Key ID: 37AAE9B486CFF1AB

View File

@ -86,6 +86,7 @@ vim.o.termguicolors = true
-- NOTE: you can add any custom options in the `lua/custom/options.lua` -- NOTE: you can add any custom options in the `lua/custom/options.lua`
-- file to avoid any conflict with this file if you're interested in keeping -- file to avoid any conflict with this file if you're interested in keeping
-- up-to-date with whatever is in the kickstart repo. -- up-to-date with whatever is in the kickstart repo.
pcall(require, 'custom/options')
-- Install package manager -- Install package manager
-- https://github.com/folke/lazy.nvim -- https://github.com/folke/lazy.nvim
@ -247,6 +248,7 @@ vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = tr
-- NOTE: you can add any custom keybinding in the `lua/custom/map.lua` -- NOTE: you can add any custom keybinding in the `lua/custom/map.lua`
-- file to avoid any conflict with this file if you're interested in keeping -- file to avoid any conflict with this file if you're interested in keeping
-- up-to-date with whatever is in the kickstart repo. -- up-to-date with whatever is in the kickstart repo.
pcall(require, 'custom/map')
-- [[ Highlight on yank ]] -- [[ Highlight on yank ]]
-- See `:help vim.highlight.on_yank()` -- See `:help vim.highlight.on_yank()`
@ -507,6 +509,4 @@ cmp.setup {
-- NOTE: you can add any additional custom `vim` config in the `lua/custom/after.lua` -- NOTE: you can add any additional custom `vim` config in the `lua/custom/after.lua`
-- file to avoid any conflict with this file if you're interested in keeping -- file to avoid any conflict with this file if you're interested in keeping
-- up-to-date with whatever is in the kickstart repo. -- up-to-date with whatever is in the kickstart repo.
pcall(require, 'custom/options')
pcall(require, 'custom/map')
pcall(require, 'custom/after') pcall(require, 'custom/after')