vim-markdown に contribute しました
はじめに
表題のとおりです。pull request は #261 です。
やったことは次のようなことです (以下 pull request からコピペ):
やったこと
before the pull request, we cannot configure new list item indent because it was fixed. i always insert 2-space indent for new list item, so i'd like to make it configurable.
i didn't change default behavior (the original number of spaces was 4, so i set default as 4).
What is changed
You can adjust a new list indent. For example, you insert a single line like below:
* item1
Then if you type o
to insert new line in vim and type * item2
, the result will be:
* item1 * item2
vim-markdown automatically insert the indent. By default, the number of spaces of indent is 4. If you'd like to change the number as 2, just write:
let g:vim_markdown_new_list_item_indent = 2