From 73f11058762404f0c37c312bf42f0a387c6aa041 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 30 Mar 2023 22:59:18 +0400 Subject: Плагин для автоматического скобок MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Valentin Popov --- lua/plugins.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lua') 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) -- cgit v1.2.3