Closed alxndr closed 6 months ago
You can use the following.
call lexima#add_rule(#{ char: "'", input: "'", input_after: "", mode: 'i', filetype: ["racket", "scheme"})
Removing default rule is difficult but you can overwrite with NOOP.
Thanks @cohama ! I seem to have gotten the behavior I was after with these:
call lexima#add_rule({ 'char': "'", 'filetype': ['lisp', 'scheme', 'racket']})
call lexima#add_rule({ 'char': '`', 'filetype': ['lisp', 'scheme', 'racket']})
Curious if there's a way to leave most of the default rules intact, but "turn off" the pairing completion for singlequote
'
and backtick`
, for LISP-based filetypes such as Racket and Scheme?