diff --git a/init.lua b/init.lua index d46c4a05..94ab36d1 100644 --- a/init.lua +++ b/init.lua @@ -13,7 +13,7 @@ vim.g.have_nerd_font = true -- For more options, you can see `:help option-list` -- Make line numbers default --- vim.opt.number = true +vim.opt.number = true -- You can also add relative line numbers, to help with jumping. -- Experiment for yourself to see if you like it! vim.opt.relativenumber = true @@ -330,7 +330,11 @@ require('lazy').setup({ -- i = { [''] = 'to_fuzzy_refine' }, -- }, -- }, - -- pickers = {} + pickers = { + colorscheme = { + enable_preview = true, + }, + }, extensions = { ['ui-select'] = { require('telescope.themes').get_dropdown(), @@ -737,6 +741,11 @@ require('lazy').setup({ -- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps }, sources = { + { + name = 'lazydev', + -- set group index to 0 to skip loading LuaLS completions as lazydev recommends it + group_index = 0, + }, { name = 'copilot' }, { name = 'nvim_lsp' }, { name = 'luasnip' }, @@ -758,7 +767,7 @@ require('lazy').setup({ -- Like many other themes, this one has different styles, and you could load -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. -- vim.cmd.colorscheme 'tokyonight-night' - vim.cmd.colorscheme 'catppuccin-frappe' + vim.cmd.colorscheme 'darkblue' -- You can configure highlights by doing something like: vim.cmd.hi 'Comment gui=none'