Autocommit of file /home/julien/.dotfiles/vim/.vim/plugin/vimfootnotes.vim changed...
authorJulien Valroff <julien@kirya.net>
Sat, 17 Dec 2011 12:04:37 +0000 (13:04 +0100)
committerJulien Valroff <julien@kirya.net>
Sat, 17 Dec 2011 12:04:37 +0000 (13:04 +0100)
.vim/plugin/vimfootnotes.vim

index 31d7b9a..b567af3 100644 (file)
@@ -248,7 +248,11 @@ function! s:VimFootnotes(appendcmd)
                let g:vimfootnotemark = <sid>VimFootnoteType(g:vimfootnotenumber)
                let cr = ""
        else
-               let g:vimfootnotenumber = 1
+               if (g:vimfootnotetype == "arabic")
+            let g:vimfootnotenumber = 0
+        else
+            let g:vimfootnotenumber = 1
+        endif
                let g:vimfootnotemark = <sid>VimFootnoteType(g:vimfootnotenumber)
                let cr = "\<cr>"
        endif