November 2018
Beginner
330 pages
7h 21m
English
There are many paths we can take our plugin in, but let's focus on two main issues we have right now:
Let's start with the first problem: making the plugin work across different languages. Right now, if you try to execute the plugin in, for example, a .vim file, you'll get the following volley of errors:

That's because we define g:commenter#comment_str in <...>/vim-commenter/ftplugin/python.vim, and the variable is only defined when we're working with a Python ...