Skip to content
This repository was archived by the owner on Sep 14, 2020. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dsanson/vim-pandoc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: vim-pandoc/vim-pandoc-legacy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Aug 26, 2011

  1. Cleaning up documentation

    dsanson committed Aug 26, 2011
    Copy the full SHA
    e69a6e6 View commit details
  2. Copy the full SHA
    f1a273a View commit details

Commits on Aug 27, 2011

  1. Copy the full SHA
    4d608ab View commit details
  2. Copy the full SHA
    df0359c View commit details
  3. Updated documentation.

    Tweaked commands output buffer.
    
    Reduced replication in the commands code.
    fmoralesc committed Aug 27, 2011
    Copy the full SHA
    cb782a9 View commit details
  4. Updated leader commands.

    fmoralesc committed Aug 27, 2011
    Copy the full SHA
    3efb154 View commit details
  5. rewrote open_uri command in python, because the original failed with …

    …an error regarding "flush".
    
    The new procedure is platform independent.
    fmoralesc committed Aug 27, 2011
    Copy the full SHA
    7d1af6a View commit details
  6. Updated documentation.

    fmoralesc committed Aug 27, 2011
    Copy the full SHA
    7ef4e01 View commit details
  7. updating README

    dsanson committed Aug 27, 2011
    Copy the full SHA
    861856b View commit details
  8. merging updates to README

    dsanson committed Aug 27, 2011
    Copy the full SHA
    a19acff View commit details
  9. Reorganized the ftplugin.

    fmoralesc committed Aug 27, 2011
    Copy the full SHA
    29d31e9 View commit details
  10. Copy the full SHA
    6f34969 View commit details
  11. Copy the full SHA
    37625ba View commit details
  12. Copy the full SHA
    9d6511c View commit details
  13. Copy the full SHA
    fd34cec View commit details
  14. Copy the full SHA
    c47e66d View commit details
  15. Underline references.

    fmoralesc committed Aug 27, 2011
    Copy the full SHA
    d68dafc View commit details

Commits on Aug 28, 2011

  1. Copy the full SHA
    fa3ab57 View commit details
  2. Fixing issue #1 (vim-pandoc/vim-pandoc#1): Adding support for folding…

    … on setext-style headers.
    
    Fix provided by https://github.com/mavenaut
    fmoralesc committed Aug 28, 2011
    Copy the full SHA
    664964d View commit details
  3. Copy the full SHA
    5dd6110 View commit details
  4. Copy the full SHA
    990abc8 View commit details
  5. Copy the full SHA
    3e40d7b View commit details
  6. Copy the full SHA
    c5a0e5a View commit details
  7. Copy the full SHA
    dfd5e6f View commit details
  8. Copy the full SHA
    1e7f26e View commit details
  9. Plugin reorganization.

    Functions and global variables are defined in plugin/pandoc.vim. ftplugin/pandoc.vim only sets local configurations.
    fmoralesc committed Aug 28, 2011
    Copy the full SHA
    80933cc View commit details
  10. Copy the full SHA
    3f7f52b View commit details
  11. Copy the full SHA
    bc0f437 View commit details
  12. Copy the full SHA
    1ec3cb2 View commit details
  13. Square parenthesis in a file won't be

    highlighted unless they have matching reference definitions and will be turned into links by pandoc.
    fmoralesc committed Aug 28, 2011
    Copy the full SHA
    7590907 View commit details
  14. Copy the full SHA
    a2b21e2 View commit details
  15. Copy the full SHA
    ef8e9ce View commit details

Commits on Aug 29, 2011

  1. Created pandoc_go_to_ref(), which implements a more reliable way of g…

    …oing to a reference than the old mapping. Changed <localleader>fr to <localleader>gr.
    
    Updated pandoc_open_uri() so it works fine when there is more than 1 link in the current line. Removed <localleader> wr, because its functionality is implemented by pandoc_open_uri().
    
    Made the local mappings silent.
    fmoralesc committed Aug 29, 2011
    Copy the full SHA
    97e5719 View commit details
  2. Added pandoc_go_back_from_ref(), to return from a reference declarati…

    …on or footnote to tthe text.
    fmoralesc committed Aug 29, 2011
    Copy the full SHA
    f2f83d6 View commit details
  3. Mappings are silent again.

    Added a recommendation regarding `viewoptions`.
    fmoralesc committed Aug 29, 2011
    Copy the full SHA
    cc2219b View commit details
  4. reverting syntax file to a2b21e2. something after that broke syntax h…

    …ighlighting for headers
    dsanson committed Aug 29, 2011
    Copy the full SHA
    c99f755 View commit details
  5. Copy the full SHA
    c5aed02 View commit details
  6. Set sane formatting options for people who want to use hard wraps by …

    …setting 'g:pandoc_use_hard_wraps' to 1.
    fmoralesc committed Aug 29, 2011
    Copy the full SHA
    cf8c1c7 View commit details
  7. Copy the full SHA
    4ffde35 View commit details
  8. reapplying the fix from c5aed02

    Something like this
        header
        =-=-=-
    
    shouldn't be matched as a setext style header, but was.
    dsanson committed Aug 29, 2011
    Copy the full SHA
    9491f44 View commit details
  9. Updated documentation.

    Removed `a` to formatoptions when in hard wrap mode. `paragraphs` must be set to a correct one for it to work well.
    fmoralesc committed Aug 29, 2011
    Copy the full SHA
    2ea7c10 View commit details
  10. Copy the full SHA
    eaf6336 View commit details
  11. Copy the full SHA
    913e12e View commit details
  12. Fixed a problem when g:pandoc_use_hard_wraps is undefined and moved s…

    …ome settings into the mode conditional.
    fmoralesc committed Aug 29, 2011
    Copy the full SHA
    34269d1 View commit details
  13. Made autoformatting optional.

    Removed `cq` to formatoptions, since there are no "real" comments in markdown.
    fmoralesc committed Aug 29, 2011
    Copy the full SHA
    a1f5cde View commit details
  14. Copy the full SHA
    6e1404c View commit details
  15. Folding and empty implicits highlighting can be disabled if needed fo…

    …r performance reasons.
    
    Updated documentation.
    fmoralesc committed Aug 29, 2011
    Copy the full SHA
    c13993b View commit details

Commits on Aug 30, 2011

  1. Copy the full SHA
    1268bc1 View commit details
  2. improving README

    dsanson committed Aug 30, 2011
    Copy the full SHA
    fe8505d View commit details
  3. cleaning up README a bit more

    dsanson committed Aug 30, 2011
    Copy the full SHA
    29afbfc View commit details
Showing with 77 additions and 932 deletions.
  1. +1 −0 .gitignore
  2. +0 −1 README.markdown
  3. +76 −0 README.md
  4. +0 −257 doc/pandoc.txt
  5. +0 −1 ftdetect/pandoc.vim
  6. +0 −277 ftplugin/pandoc.vim
  7. +0 −100 snippets/pandoc.snippets
  8. +0 −296 syntax/pandoc.vim
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
doc/tags
1 change: 0 additions & 1 deletion README.markdown

This file was deleted.

76 changes: 76 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# vim-pandoc-legacy

Provided support for pandoc in vim.

The original vim-pandoc (available here) has been replaced by vim-pantondoc
(now, vim-pandoc). All the users of the old vim-pandoc are suggested to move
over the combo of the new [vim-pandoc][], [vim-pandoc-syntax][], and
[vim-pandoc-after][]. vim-pandoc provides the writing environment setup,
vim-pandoc-syntax provides the syntax file (and tests), and vim-pandoc-after
support for third-party plugins (like ultisnips, unite, nrrwrgn, etc.).

[vim-pandoc]: https://github.com/vim-pandoc/vim-pandoc
[vim-pandoc-syntax]: https://github.com/vim-pandoc/vim-pandoc-syntax
[vim-pandoc-after]: https://github.com/vim-pandoc/vim-pandoc-after

## Moving over to the new vim-pandoc

### What's different

* The new vim-pandoc is modular, and extremely configurable. You decide what to
use from it, and how.
* The syntax file is no longer included in the bundle. The user must install
`vim-pandoc-syntax`.
The syntax file has received many improvements; it is now faster and more
complete.
* Integration with third-party plugins is no longer included in the bundle. The
user must install `vim-pandoc-after`.
More third-party plugins are supported, and old ones have been updated.
* The executors system has been replaced by a single `:Pandoc` command.
pandoc can be executed asynchronously (if possible).
* New features: TOC functionality, keyboard navigation and operators, improved
and smarted folding, etc.

### Migration instructions

First, uninstall vim-pandoc. If you have installed it by cloning the repo and
using pathogen, Vundle or Neobundle, it should be enough to delete the
`.vim/bundle/vim-pandoc` directory. If you have used Vundle or NeoBundle, you
should also delete the configuration for it in your `.vimrc`.

You should now install the new [vim-pandoc][] and [vim-pandoc-syntax][] plugins
(and if third party plugin integration is needed, [vim-pandoc-after][]).

Using Vundle, simply add

Plugin 'vim-pandoc/vim-pandoc'
Plugin 'vim-pandoc/vim-pandoc-syntax'
Plugin 'vim-pandoc/vim-pandoc-after'

to your `.vimrc`, source it (`:so %`), and execute `:PluginInstall`. NeoBundle
users should be able to do something similar.

### Configuration variables

Configuration variables have been renamed. This is a rough guide of these
changes.

* `g:pandoc_use_hard_wraps`/`g:pandoc_use_soft_wraps` =>
`g:pandoc#formatting#mode` = "h"/"s"
* `g:pandoc_auto_format` => `g:pandoc#formatting#mode` += "a"
* `g:pandoc_no_folding` => `g:pandoc#modules#disabled` = ["folding"]
* `g:pandoc_no_empty_implicits` => not available
* `g:pandoc_no_spans` => not available
* `g:pandoc_bibfiles` => `g:pandoc#biblio#bibs`
* `g:pandoc_use_bibtool` => `g:pandoc#biblio#use_bibtool`

Note the new vim-pandoc is much more configurable, and has a modular design.
Please consult vim-pandoc's help file (`:he vim-pandoc`) for more information.
(also `:he vim-pandoc-syntax`).

## Keep using the old vim-pandoc (not recommended)

If, for some reason, you want to keep using the old vim-pandoc version, you
should clone this repo and revert to commit
c905b50dce4f58cf76235c7d47c15eb699da0b2d. Please note this version of
vim-pandoc will be unsupported, and you'll be on your own.
257 changes: 0 additions & 257 deletions doc/pandoc.txt

This file was deleted.

1 change: 0 additions & 1 deletion ftdetect/pandoc.vim

This file was deleted.

277 changes: 0 additions & 277 deletions ftplugin/pandoc.vim

This file was deleted.

100 changes: 0 additions & 100 deletions snippets/pandoc.snippets

This file was deleted.

296 changes: 0 additions & 296 deletions syntax/pandoc.vim

This file was deleted.