@@ -46,27 +46,67 @@ vim.opt.rtp:prepend(lazypath)
4646 require("lazy").setup({
4747 spec = {
4848 -- import your plugins
49- {
50- -- Theme:
51- "zenbones-theme/zenbones.nvim",
52- -- Optionally install Lush. Allows for more configuration or extending the colorscheme
53- -- If you don't want to install lush, make sure to set g:zenbones_compat = 1
54- -- In Vim, compat mode is turned on as Lush only works in Neovim.
55- dependencies = "rktjmp/lush.nvim",
56- lazy = false,
57- priority = 1000,
58- -- you can set set configuration options here
59- config = function()
60- -- vim.g.zenbones_darken_comments = 45
61- vim.cmd.colorscheme('randombones')
62- end
63- },
64-
6549 {
6650 'nvim-lualine/lualine.nvim',
6751 dependencies = { 'nvim-tree/nvim-web-devicons' },
6852 config = function()
69- require("lualine").setup()
53+ local colors = {
54+ bg = '#1c1c1c',
55+ bg_mid = '#262626',
56+ bg_light = '#303030',
57+ bg_lighter = '#3a3a3a',
58+ fg = '#c7c7c7',
59+ gray = '#767676',
60+ gray_bright = '#9e9e9e',
61+ blue = '#5f87af',
62+ cyan = '#87afaf',
63+ green = '#5faf5f',
64+ magenta = '#af87af',
65+ red = '#af5f5f',
66+ yellow = '#af875f',
67+ }
68+
69+ local habamax_lualine = {
70+ normal = {
71+ a = { fg = colors.bg, bg = colors.gray_bright, gui = 'bold' },
72+ b = { fg = colors.fg, bg = colors.bg_lighter },
73+ c = { fg = colors.gray_bright, bg = colors.bg_mid },
74+ },
75+ insert = {
76+ a = { fg = colors.bg, bg = colors.green, gui = 'bold' },
77+ b = { fg = colors.fg, bg = colors.bg_lighter },
78+ c = { fg = colors.gray_bright, bg = colors.bg_mid },
79+ },
80+ visual = {
81+ a = { fg = colors.bg, bg = colors.magenta, gui = 'bold' },
82+ b = { fg = colors.fg, bg = colors.bg_lighter },
83+ c = { fg = colors.gray_bright, bg = colors.bg_mid },
84+ },
85+ replace = {
86+ a = { fg = colors.bg, bg = colors.red, gui = 'bold' },
87+ b = { fg = colors.fg, bg = colors.bg_lighter },
88+ c = { fg = colors.gray_bright, bg = colors.bg_mid },
89+ },
90+ command = {
91+ a = { fg = colors.bg, bg = colors.yellow, gui = 'bold' },
92+ b = { fg = colors.fg, bg = colors.bg_lighter },
93+ c = { fg = colors.gray_bright, bg = colors.bg_mid },
94+ },
95+ terminal = {
96+ a = { fg = colors.bg, bg = colors.cyan, gui = 'bold' },
97+ b = { fg = colors.fg, bg = colors.bg_lighter },
98+ c = { fg = colors.gray_bright, bg = colors.bg_mid },
99+ },
100+ inactive = {
101+ a = { fg = colors.gray, bg = colors.bg_mid, gui = 'bold' },
102+ b = { fg = colors.gray, bg = colors.bg_mid },
103+ c = { fg = colors.gray, bg = colors.bg },
104+ },
105+ }
106+
107+ require("lualine").setup({
108+ options = { theme = habamax_lualine }
109+ })
70110 end
71111 },
72112
@@ -93,6 +133,40 @@ require("lazy").setup({
93133 cmd = 'Telescope',
94134 },
95135
136+ -- Tree-sitter syntax highlighting
137+ {
138+ 'nvim-treesitter/nvim-treesitter',
139+ lazy = false,
140+ build = ':TSUpdate',
141+ config = function()
142+ local parsers = {
143+ 'bash',
144+ 'css',
145+ 'go',
146+ 'html',
147+ 'javascript',
148+ 'json',
149+ 'lua',
150+ 'markdown',
151+ 'markdown_inline',
152+ 'python',
153+ 'query',
154+ 'tsx',
155+ 'typescript',
156+ 'vim',
157+ 'vimdoc',
158+ }
159+
160+ require('nvim-treesitter').install(parsers)
161+
162+ vim.api.nvim_create_autocmd('FileType', {
163+ callback = function(args)
164+ pcall(vim.treesitter.start, args.buf)
165+ end,
166+ })
167+ end,
168+ },
169+
96170 -- LSP/etc with Mason
97171 "neovim/nvim-lspconfig",
98172 {
@@ -109,6 +183,8 @@ require("lazy").setup({
109183 "biome",
110184 "emmylua_ls",
111185 "gopls",
186+ "pyright",
187+ "ruff",
112188 "ts_ls",
113189 },
114190 automatic_enable = true,
@@ -116,10 +192,10 @@ require("lazy").setup({
116192 end,
117193 },
118194
119- -- Use `pi` for autocomplete
195+ -- Use vim-ai-complete for autocomplete
120196 {
121- "sacenox/vim-pi-complete",
122- cmd = { "Pi" },
197+ "sacenox/vim-ai-complete",
198+ cmd = { "Ai" },
123199 }
124200 },
125201 -- Configure any other settings here. See the documentation for more details.
@@ -153,3 +229,5 @@ keymap('n', 'k', 'gk', { noremap = true })
153229 -- Command aliases
154230 vim.api.nvim_create_user_command('Q', 'q', {})
155231 vim.api.nvim_create_user_command('W', 'w', {})
232+
233+vim.cmd.colorscheme('habamax')