* chore(defaults.lua): add expandtab and smarttab options
* chore(keymaps.lua): add silent and noremap options to NvimTreeToggle keymap * chore(nvim-tree.lua): comment out auto open autocmd * chore(init.lua): disable netrw and add autoformat and debug plugins * feat(autopairs.lua): add nvim-autopairs plugin with default configuration * feat(init.lua): add vim-go plugin * feat(nvim-tree.lua): add custom filter to ignore .git directory in nvim-tree view
This commit is contained in:
parent
42ca0e4245
commit
049d71cf0f
7 changed files with 24 additions and 7 deletions
6
lua/custom/plugins/autopairs.lua
Normal file
6
lua/custom/plugins/autopairs.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
"windwp/nvim-autopairs",
|
||||
config = function()
|
||||
require("nvim-autopairs").setup {}
|
||||
end,
|
||||
}
|
||||
|
|
@ -2,4 +2,6 @@
|
|||
-- I promise not to create any merge conflicts in this directory :)
|
||||
--
|
||||
-- See the kickstart.nvim README for more information
|
||||
return {}
|
||||
return {
|
||||
'fatih/vim-go',
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,9 @@ return {
|
|||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
config = function()
|
||||
require("nvim-tree").setup {}
|
||||
require("nvim-tree").setup {
|
||||
filters = { custom = { "^.git$" } }
|
||||
}
|
||||
end,
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue