change the line number and fix the color scheme

This commit is contained in:
Thitiwat Hemvimon 2024-10-30 11:18:56 +07:00
parent 82c18c9988
commit 723fc4f72f
1 changed files with 12 additions and 3 deletions

View File

@ -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 = { ['<c-enter>'] = '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'