add tab indents to size 2 for go, and add auto pair
This commit is contained in:
parent
5baf8c23ca
commit
7f84d85328
5
init.lua
5
init.lua
|
@ -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! :)
|
||||
--]]
|
||||
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.bo.softtabstop = 2
|
||||
-- NOTE Adding a
|
||||
|
||||
vim.wo.relativenumber = true
|
||||
|
|
|
@ -2,4 +2,12 @@
|
|||
-- I promise not to create any merge conflicts in this directory :)
|
||||
--
|
||||
-- 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
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue