Skip to content

Commit 7e3f52a

Browse files
committed
my conf
1 parent d350db2 commit 7e3f52a

File tree

2 files changed

+72
-8
lines changed

2 files changed

+72
-8
lines changed

init.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -965,18 +965,18 @@ require('lazy').setup({
965965
-- Here are some example plugins that I've included in the Kickstart repository.
966966
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
967967
--
968-
-- require 'kickstart.plugins.debug',
968+
require 'kickstart.plugins.debug',
969969
-- require 'kickstart.plugins.indent_line',
970-
-- require 'kickstart.plugins.lint',
971-
-- require 'kickstart.plugins.autopairs',
972-
-- require 'kickstart.plugins.neo-tree',
973-
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
970+
require 'kickstart.plugins.lint',
971+
require 'kickstart.plugins.autopairs',
972+
require 'kickstart.plugins.neo-tree',
973+
require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
974974

975975
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
976976
-- This is the easiest way to modularize your config.
977977
--
978978
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
979-
-- { import = 'custom.plugins' },
979+
{ import = 'custom.plugins' },
980980
--
981981
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
982982
-- Or use telescope!

lua/custom/plugins/init.lua

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,69 @@
1-
-- You can add your own plugins here or in other files in this directory!
1+
-- own plugins here or in other files in this directory!
22
-- I promise not to create any merge conflicts in this directory :)
33
--
44
-- See the kickstart.nvim README for more information
5-
return {}
5+
local colors = {
6+
blue = '#80a0ff',
7+
cyan = '#79dac8',
8+
black = '#080808',
9+
white = '#c6c6c6',
10+
red = '#ff5189',
11+
violet = '#d183e8',
12+
grey = '#303030',
13+
}
14+
15+
local bubbles_theme = {
16+
normal = {
17+
a = { fg = colors.black, bg = colors.violet },
18+
b = { fg = colors.white, bg = colors.grey },
19+
c = { fg = colors.white },
20+
},
21+
22+
insert = { a = { fg = colors.black, bg = colors.blue } },
23+
visual = { a = { fg = colors.black, bg = colors.cyan } },
24+
replace = { a = { fg = colors.black, bg = colors.red } },
25+
26+
inactive = {
27+
a = { fg = colors.white, bg = colors.black },
28+
b = { fg = colors.white, bg = colors.black },
29+
c = { fg = colors.white },
30+
},
31+
}
32+
33+
return {
34+
{
35+
'nvim-lualine/lualine.nvim',
36+
dependencies = { 'nvim-tree/nvim-web-devicons' },
37+
config = function()
38+
require('lualine').setup {
39+
options = {
40+
theme = bubbles_theme,
41+
component_separators = '',
42+
section_separators = { left = '', right = '' },
43+
},
44+
sections = {
45+
lualine_a = { { 'mode', separator = { left = '' }, right_padding = 2 } },
46+
lualine_b = { 'filename', 'branch' },
47+
lualine_c = {
48+
'%=', --[[ add your center compoentnts here in place of this comment ]]
49+
},
50+
lualine_x = {},
51+
lualine_y = { 'filetype', 'progress' },
52+
lualine_z = {
53+
{ 'location', separator = { right = '' }, left_padding = 2 },
54+
},
55+
},
56+
inactive_sections = {
57+
lualine_a = { 'filename' },
58+
lualine_b = {},
59+
lualine_c = {},
60+
lualine_x = {},
61+
lualine_y = {},
62+
lualine_z = { 'location' },
63+
},
64+
tabline = {},
65+
extensions = {},
66+
}
67+
end,
68+
},
69+
}

0 commit comments

Comments
 (0)