cohama / lexima.vim

Auto close parentheses and repeat by dot dot dot...
995 stars 46 forks source link

Nix rule breaks plugin #122

Closed ymarkus closed 2 years ago

ymarkus commented 2 years ago

When I add this rule:

call lexima#add_rule({'char': "''", 'input_after': "''", 'filetype': 'nix'})

the plugin does this: https://user-images.githubusercontent.com/62380378/141512055-74fcf878-c96b-4d6d-a55f-ae1381e0ee4b.mp4

This is the exact text it inserts:

pumvisible() ? "\{" : lexima#expand('
      ', 'i')
cohama commented 2 years ago

I can't repro. Please report minimal vimrc.