aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2023-03-30 21:59:18 +0300
committerValentin Popov <valentin@popov.link>2023-03-30 21:59:18 +0300
commit73f11058762404f0c37c312bf42f0a387c6aa041 (patch)
tree6a6952f79d67003f2ad515aa31ef88c2c162cffa
parent0f024abb5200ee0e6c96320cadeaba446682cb85 (diff)
downloadnvim-config-73f11058762404f0c37c312bf42f0a387c6aa041.tar.xz
nvim-config-73f11058762404f0c37c312bf42f0a387c6aa041.zip
Плагин для автоматического скобок
Signed-off-by: Valentin Popov <valentin@popov.link>
-rw-r--r--lua/plugins.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 385ed3e..07e43ba 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -33,10 +33,18 @@ return require('packer').startup(function(use)
use {
'numToStr/Comment.nvim',
config = function()
- require('Comment').setup()
+ require('Comment').setup {}
end,
}
-- Расширенная подсветка синтаксиса
use 'nvim-treesitter/nvim-treesitter'
+
+ -- Автоматическое закрытие скобок
+ use {
+ 'windwp/nvim-autopairs',
+ config = function()
+ require('nvim-autopairs').setup {}
+ end
+ }
end)