Mercurial > dotfiles
comparison dot_config/nvim/init.lua @ 432:b6d669b13e1e
Disable ` pairing for systemverilog
author | Zeger Van de Vannet <zegervdv@me.com> |
---|---|
date | Thu, 12 Aug 2021 14:29:01 +0200 |
parents | 5d6bfec9cb5a |
children | 4a539353bd54 |
comparison
equal
deleted
inserted
replaced
431:5a296952f248 | 432:b6d669b13e1e |
---|---|
127 :with_move(function(opts) | 127 :with_move(function(opts) |
128 return opts.prev_char:match '.%]' ~= nil | 128 return opts.prev_char:match '.%]' ~= nil |
129 end) | 129 end) |
130 :use_key ']', | 130 :use_key ']', |
131 } | 131 } |
132 | |
133 npairs.get_rule('`') | |
134 :with_pair(function() | |
135 return vim.bo.filetype ~= 'systemverilog' | |
136 end) | |
132 end, | 137 end, |
133 } | 138 } |
134 | 139 |
135 -- Moving around within lines | 140 -- Moving around within lines |
136 use { 'wellle/targets.vim', event = 'InsertEnter *' } | 141 use { 'wellle/targets.vim', event = 'InsertEnter *' } |