style(init): Modularize entire init.lua
Now each plugin is in it's own seperate file that returns the plugin and it's configs. This makes it simpler for me apply lazy loading to this config. Settings, Keymaps, Yank-highlight are inside kickstart directory within their seperate files.
This commit is contained in:
parent
6215c8b7ba
commit
c0e3bb9036
15 changed files with 585 additions and 587 deletions
16
lua/kickstart/plugins/lualine.lua
Normal file
16
lua/kickstart/plugins/lualine.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
return {
|
||||
-- Set lualine as statusline
|
||||
'nvim-lualine/lualine.nvim',
|
||||
-- See `:help lualine.txt`
|
||||
opts = {
|
||||
options = {
|
||||
icons_enabled = true,
|
||||
theme = 'auto',
|
||||
component_separators = '/',
|
||||
section_separators = '',
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
'nvim-tree/nvim-web-devicons', opt = true
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue