# HG changeset patch # User zegervdv # Date 1633277438 -7200 # Node ID f3a6e8090a2d4036591f70eeb432458b17cc7fa7 # Parent 5b625df6edf285b287d41c2f22318f86de8ab2d8 Fix rule config for nvim-autopairs diff -r 5b625df6edf2 -r f3a6e8090a2d .chezmoitemplates/init.lua --- a/.chezmoitemplates/init.lua Sun Oct 03 11:21:10 2021 +0200 +++ b/.chezmoitemplates/init.lua Sun Oct 03 18:10:38 2021 +0200 @@ -91,7 +91,6 @@ use { 'tpope/vim-surround' } use { 'windwp/nvim-autopairs', - commit = '0e5a11555ef4bfb18d21362119549a880031723b', config = function() local npairs = require 'nvim-autopairs' local Rule = require 'nvim-autopairs.rule' @@ -141,7 +140,7 @@ return vim.bo.filetype ~= 'systemverilog' end) - npairs.get_rule("'"):with_pair(function() + npairs.get_rule("'")[1]:with_pair(function() return vim.bo.filetype ~= 'systemverilog' end) end,