kana/vim-smartpunc — Issue #30: Add rules for Vim script to insert comments/strings
Author: kana
Created: 2012-03-07 14:30:41+00:00
State: open
Labels: feature

In `vim` filetype, `"` has two roles. One is a string literal, and the other is a comment sign. So that the ideal behavior is to:

* Insert `""` if a string can be inserted into the cursor position, or
* Insert `"` as a comment otherwise.

The current default rules doesn't care about inserting comments.