vim-utils / vim-troll-stopper

Stop Unicode trolls from messing with your code.
MIT License
177 stars 4 forks source link

Error when loading #6

Open ghost opened 8 years ago

ghost commented 8 years ago

I dropped troll_stopper.vim into my vim\vim74\plugin folder. Upon starting vim, I see this error in a popup:

Error detected while processing C:/vim/App/vim/vim74/plugin/troll_stoppe
r.vim:
line  275:
E713: Cannot use empty key for Dictionary
E15: Invalid expression: { "\u00A0": ' ', "\u2000": ' ', "\u2001": ' ', "\u2002": ' ',

Followed by this red error in the vim window:

Error detected while processing function <SNR>20_HighlightTrolling:
line 2:
E121: Undefined variable: s:troll_regex
E116: Invalid arguments for function matchadd

I'm sure I've either done something wrong in installing, or I'm missing some dependency. Can you give an example of "Use your favorite plugin manager"?