add tab indents to size 2 for go, and add auto pair

This commit is contained in:
Luca Sciarra 2024-07-20 22:02:07 -04:00
parent 5baf8c23ca
commit 7f84d85328
2 changed files with 13 additions and 2 deletions

View File

@ -83,7 +83,10 @@ I hope you enjoy your Neovim journey,
P.S. You can delete this when you're done too. It's your config now! :) P.S. You can delete this when you're done too. It's your config now! :)
--]] --]]
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
vim.bo.softtabstop = 2
-- NOTE Adding a -- NOTE Adding a
vim.wo.relativenumber = true vim.wo.relativenumber = true

View File

@ -2,4 +2,12 @@
-- I promise not to create any merge conflicts in this directory :) -- I promise not to create any merge conflicts in this directory :)
-- --
-- See the kickstart.nvim README for more information -- See the kickstart.nvim README for more information
return {} return {
{
'windwp/nvim-autopairs',
event = 'InsertEnter',
config = true,
-- use opts = {} for passing setup options
-- this is equalent to setup({}) function
},
}