Skip to content
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: fs111/pydoc.vim
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: somini/pydoc.vim
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 18 commits
  • 6 files changed
  • 4 contributors

Commits on Nov 8, 2015

  1. Major overhaul: Regular plugin

    This is the first pass on turning this plugin into a regular plugin,
    instead of a ftplugin that only gets activated on Python files.
    It also improves the behaviour, it's more robust now.
    somini committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    9f01eea View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2015

  1. Fix window reuse

    Seems robust enough.
    somini committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    fa6f49d View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2015

  1. Compatibility with older vim

    The default Mint Vim is very old.
    somini committed Nov 28, 2015
    Configuration menu
    Copy the full SHA
    60b0a69 View commit details
    Browse the repository at this point in the history
  2. Revert "Compatibility with older vim"

    It's unnecessary, it sets the option right below.
    
    This reverts commit 72be848.
    somini committed Nov 28, 2015
    Configuration menu
    Copy the full SHA
    5bd7b53 View commit details
    Browse the repository at this point in the history
  3. Let the pydoc command be overriden

    By buffer-local and tab-local variables, by this order.
    somini committed Nov 28, 2015
    Configuration menu
    Copy the full SHA
    cb58a0c View commit details
    Browse the repository at this point in the history
  4. Provide mappings for K in python and pydoc files

    You can avoid creating the mappings with `g:pydoc_skip_mappings`
    This is also the first step into breaking down the big plugin into more
    manageable files.
    somini committed Nov 28, 2015
    Configuration menu
    Copy the full SHA
    00c4e7b View commit details
    Browse the repository at this point in the history
  5. Detect python version

    And choose the appropriate pydoc. This is only useful on systems where
    python2 and python3 coexist.
    Can be skipped with the variable `let g:pydoc_detect_version = 0`
    somini committed Nov 28, 2015
    Configuration menu
    Copy the full SHA
    32bc91e View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2016

  1. Introduce Plugin overhaul

    This changes several things:
    
    - Introduce a new way algorithm for the `K` mapping, very useful to
      bring up help in many places.
    - Organize the `ftplugin` folder in a more logical fashion.
    
    This commit might look like a monster, but the algorithm change is the
    more pressing matter.
    somini committed Jan 10, 2016
    Configuration menu
    Copy the full SHA
    718d591 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2016

  1. Expose current search term on buffer variable

    This is useful for statusline purposes.
    somini committed Jan 12, 2016
    Configuration menu
    Copy the full SHA
    a8efdbd View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2016

  1. Configuration menu
    Copy the full SHA
    485ab34 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2016

  1. Improve K behaviour

    I reviewed most patterns for completeness and added a new heuristic that
    "parses" the import lines for easier usage. When you use aliased
    modules or functions in the code, it should be able to pickup what you
    really meant.
    It's still just regex trickery, it's not a real parser, so it might fail
    on edge cases.
    Should be pretty robust, here's some case it detects. `a`, `b` and `c`
    can be submodules (having internal dots).
    
    ```python
    from a import b as c
    from a import b
    import b as c
    ```
    
    Thanks to @comeonfox for including a PR upstream that made me review
    this.
    #34
    somini committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    ba4dc1a View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2019

  1. Configuration menu
    Copy the full SHA
    ff64694 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2020

  1. Grab b:pydoc_cmd before changing buffers

    Fix python detection doesn't work when t:pydoc_cmd is defined.
    
    If t:pydoc_cmd = 'pydoc' and b:pydoc_cmd = 'pydoc3' (like if you created
    a new python file and then added a py3 shebang), then the old code would
    use 'pydoc'. By grabbing the command before we switch buffers, we ensure
    that we use the buffer-local value.
    idbrii committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    54e71c0 View commit details
    Browse the repository at this point in the history
  2. Use g:pydoc_cmd in detected b:pydoc_cmd

    If user sets g:pydoc_cmd = 'python -m pydoc', then use that for the
    detected pydoc command -- but with the appropriate version.
    idbrii committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    cf34226 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2020

  1. Silence irrelevant modification commands

    Fix 'press enter' prompt after :PyDoc commands.
    
    Users don't need to know about these modifications and they're just
    likely to require 'press enter' to proceed.
    
    Test
    :PyDoc dict.keys
    :verbose PyDoc dict.keys
    :PyDoc invalid
    idbrii committed Nov 25, 2020
    Configuration menu
    Copy the full SHA
    aaa7066 View commit details
    Browse the repository at this point in the history
  2. Update command names in documentation

    Update documentation to match their new names.
    
    Names changed in 9f01eea.
    idbrii committed Nov 25, 2020
    Configuration menu
    Copy the full SHA
    85d1ed5 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2020

  1. Merge minor PR

    Merge #3 #4
    somini committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    9cbbf4c View commit details
    Browse the repository at this point in the history
  2. Improve command detection

    Merge #2
    somini committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    481958a View commit details
    Browse the repository at this point in the history
Loading