Skip to content

Commit 28545c1

Browse files
committed
update
1 parent 3eb33d1 commit 28545c1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

init.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ vim.g.have_nerd_font = true
88
-- [[ Setting options ]]
99
vim.opt.wrap = false
1010
vim.opt.textwidth = 80
11+
vim.opt.cc="81"
1112
vim.opt.numberwidth = 4 -- (up to 9999)
1213
vim.opt.scrolloff = 4 -- Minimum number of lines to keep above and below the cursor
1314
vim.opt.tabstop = 2 -- Number of columns occupied by a tab
@@ -115,6 +116,7 @@ require('lazy').setup({
115116
'lewis6991/gitsigns.nvim',
116117

117118
{ "folke/tokyonight.nvim", lazy = false, priority = 1000, opts = {} },
119+
{ "catppuccin/nvim", name = "catppuccin", lazy = false, priority = 1000, opts = {} },
118120

119121
{
120122
"echasnovski/mini.align",
@@ -330,6 +332,7 @@ require('lazy').setup({
330332

331333
-- Allows extra capabilities provided by nvim-cmp
332334
'hrsh7th/cmp-nvim-lsp',
335+
'hrsh7th/cmp-buffer',
333336
},
334337
config = function()
335338
-- This function gets run when an LSP attaches to a particular buffer.
@@ -505,6 +508,7 @@ require('lazy').setup({
505508
},
506509
{ name = 'nvim_lsp' },
507510
{ name = 'path' },
511+
{ name = 'buffer' },
508512
},
509513
}
510514
end,
@@ -574,7 +578,7 @@ require('lazy').setup({
574578
},
575579
},
576580

577-
install = { colorscheme = { "tokyonight" } }
581+
install = { colorscheme = { "catppuccin-mocha" } }
578582
},
579583

580584
{
@@ -599,6 +603,6 @@ require('lazy').setup({
599603
},
600604
})
601605

602-
vim.cmd.colorscheme "tokyonight"
606+
vim.cmd.colorscheme "catppuccin-mocha"
603607

604608
-- vim: ts=2 sts=2 sw=2 et

0 commit comments

Comments
 (0)