comparison dot_config/nvim/init.lua @ 438:766e63b3a8fc

Exclude ' from autopairing in systemverilog
author zegervdv <zegervdv@me.com>
date Fri, 27 Aug 2021 16:53:22 +0200
parents e67efbc7de41
children 84b4f33c0403
comparison
equal deleted inserted replaced
437:41a48a26b0aa 438:766e63b3a8fc
134 end) 134 end)
135 :use_key ']', 135 :use_key ']',
136 } 136 }
137 137
138 npairs.get_rule('`'):with_pair(function() 138 npairs.get_rule('`'):with_pair(function()
139 return vim.bo.filetype ~= 'systemverilog'
140 end)
141
142 npairs.get_rule("'"):with_pair(function()
139 return vim.bo.filetype ~= 'systemverilog' 143 return vim.bo.filetype ~= 'systemverilog'
140 end) 144 end)
141 end, 145 end,
142 } 146 }
143 147