{
"github/copilot.vim",
-- Start copilot when Vim startup
event = "VimEnter",
},
- Line number and tab indent
-- Enable relative line numbers
vim.opt.number = true
vim.opt.relativenumber = true
-- Tab
vim.o.tabstop = 4 -- A TAB character looks like 4 spaces
vim.o.expandtab = false -- Pressing the TAB key will insert spaces instead of a TAB character
vim.o.shiftwidth = 4 -- Number of spaces inserted when indenting
-- vim.o.softtabstop = 4 -- Number of spaces inserted instead of a TAB character
- Disable LuaSnip and Snippet for NvChad
- Edit
~/.config/nvim/lua/plugins/init.lua
return {
{
"L3MON4D3/LuaSnip",
lazy = true,
enabled = false, -- Disable LuaSnip
},
{
"hrsh7th/nvim-cmp",
lazy = true,
enabled = false, -- Disable nvim-cmp
}
}