handle setup for all custom plugins in their respective modules
This commit is contained in:
parent
a65fbaf5ba
commit
216440979e
6
init.lua
6
init.lua
|
|
@ -368,12 +368,6 @@ cmp.setup {
|
||||||
{ name = 'path' },
|
{ name = 'path' },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
-- Configure Oil
|
|
||||||
require('oil').setup()
|
|
||||||
vim.keymap.set('n', '<leader>-', '<CMD>Oil --float<CR>', { desc = 'Open current directory' })
|
|
||||||
|
|
||||||
-- Configure Todo-Comments
|
|
||||||
require('todo-comments').setup()
|
|
||||||
|
|
||||||
vim.opt.spell = true
|
vim.opt.spell = true
|
||||||
vim.opt.spelloptions = 'camel'
|
vim.opt.spelloptions = 'camel'
|
||||||
|
|
|
||||||
|
|
@ -1 +1,6 @@
|
||||||
return { 'stevearc/oil.nvim' };
|
return { 'stevearc/oil.nvim',
|
||||||
|
config = function()
|
||||||
|
require("oil").setup();
|
||||||
|
vim.keymap.set('n', '<leader>-', '<CMD>Oil --float<CR>', { desc = 'Open current directory' })
|
||||||
|
end
|
||||||
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
return {
|
return {
|
||||||
'folke/todo-comments.nvim',
|
'folke/todo-comments.nvim',
|
||||||
dependencies = { 'nvim-lua//plenary.nvim' }
|
dependencies = { 'nvim-lua//plenary.nvim' },
|
||||||
|
config = {}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue