Permalink
Commits on Nov 17, 2017
  1. Merge branch 'pull/315'

    wincent committed Nov 17, 2017
    Closes: #315
    
    * pull/315:
      doc: update AUTHORS and HISTORY
      Fix GotoOrOpen command
  2. Fix GotoOrOpen command

    tap349 authored and wincent committed Nov 11, 2017
Commits on Sep 29, 2017
Commits on Sep 7, 2017
  1. Prep for v5.0.2 release

    wincent committed Sep 7, 2017
  2. Avoid unwanted escaping in :CommandTCommand and :CommandTTag

    wincent committed Sep 7, 2017
    Also adjusting `:CommandTHistory` to use the same approach, for
    consistency.
  3. Make opening targets like "#" work in :CommandTHelp

    wincent committed Sep 7, 2017
    Closes: #307
    
    I'll also look at the other finders and see if a similar approach makes
    sense for any of them.
Commits on Sep 6, 2017
  1. Fix regression trying to switch to previously opened file in other tab

    wincent committed Sep 6, 2017
    This is a regression introduced in 85949ce.
    
    That one attempted to fix #298 by applying a similar fix to the one used
    in #295. However, it only worked by luck: `bufexists()` doesn't support
    patterns or use of "$"/"^" to anchor the match like `bufwinnr()` does.
    This meant that adding those anchors made it always false.
    
    That fixed the unwanted splits in #298, but it meant that you couldn't
    go back to an existing file in another tab.
    
    The fix is pretty straightforward: switch from `bufexists()` to
    `bufname()`, because the latter does support anchoring. As far as I can
    tell, this fixes #306 without breaking the scenario detailed in #298.
    The one gotcha here is that we can't rely on the truthiness of the
    non-empty string returned by `bufname()` here, because crazy old
    Vimscript coerces also strings to `0`; we therefore have to use an
    explicit check against `''`.
    
    Closes: #306
Commits on Aug 30, 2017
  1. Merge branch 'pull/304'

    wincent committed Aug 30, 2017
    Closes: #304
    
    * pull/304:
      doc: update AUTHORS and HISTORY sections
      Remove NUM2LONG conversions of object ids
Commits on Aug 29, 2017
  1. Remove NUM2LONG conversions of object ids

    arkeet committed Aug 29, 2017
    Instead of converting object_ids to LONG and testing for equality,
    compare them directly with rb_equal. This avoids "bignum too big to
    convert into `long'" errors on Windows.
Commits on Aug 18, 2017
  1. Soft-wrap CONTRIBUTING.md

    wincent committed Aug 18, 2017
  2. Add CONTRIBUTING.md

    wincent committed Aug 18, 2017
    Again, suggested by GitHub. I am too lazy to flesh this one out fully at
    this point (there are some truly epic, 30-minute-read examples out
    there), but not going to bother with it for now.
  3. Remove hard-wrapping in code of conduct

    wincent committed Aug 18, 2017
    Because that's the way I do Markdown.
  4. Set email address in code of conduct

    wincent committed Aug 18, 2017
    Don't really have a "team" email address, so this will have to do.
  5. Add code of conduct

    wincent committed Aug 18, 2017
    Probably overkill for a tiny "community" like this one, but GitHub
    suggested it and I like the idea.
    
    This is the code of conduct from:
    
    https://contributor-covenant.org/version/1/4/code_of_conduct.md
  6. Prep for 5.0.1 release

    wincent committed Aug 18, 2017
  7. Make Ctrl-W match zsh-ish behavior

    wincent committed Aug 18, 2017
    As pointed out in #301 Ctrl-W
    would not delete past punctuation characters.
    
    I did some testing in zsh to see what that does and updated the regex to
    match:
    
       foo bar.baz        (deletes "baz" then "bar.")
       foo bar....baz     (deletes "baz" then "bar....")
          indented        (deletes "indented" but won't delete leading ws)
    
    Note that unlike the old pattern, it is possible for this one to not
    match, so I added an `if` guard.
    
    Should probably have tests for this.
    
    Closes: #301
Commits on Jul 12, 2017
  1. Fix unwanted split opening behavior

    wincent committed Jul 12, 2017
    Similar to the fix we applied in 595976e to fix
    #295 looks like we have to
    deal with this edge case too.
    
    Closes #298
Commits on Jun 23, 2017
  1. Fix problem opening identically named buffers with `:sbuffer`

    wincent committed Jun 23, 2017
    Closes: #295
    
    Just say we open "win32/capturer.rs" and then try to open "capturer.rs".
    
    For the first file, we'll fall through to the `else` branch in
    `commandt#GotoOrOpen` and open it with `:edit`. For the second file, our
    `buwinnr()` check will report that the buffer is already open, so we'll
    try to open it with `:sbuffer` which causes us to go back to the
    previous file instead of opening the new one that we wanted.
    
    The fix here is to do a stricter match in `bufwinnr()`. In this way,
    when we try to open the second file ("capturer.rs") our
    check(`bufwinnr("^capturer.rs$")`) will fail, and we'll open the new
    file correctly with `:edit`.
    
    I've tested this manually with a bunch of permutations of splits, tabs,
    and file orderings, and I don't believe this breaks any of the existing
    functionality.
Commits on Jun 18, 2017
  1. doc: Fix a couple of bad cross-links

    wincent committed Jun 18, 2017
    Closes: #292
Commits on Jun 13, 2017
  1. Merge branch 'pull/291'

    wincent committed Jun 13, 2017
    Closes: #291
    
    * pull/291:
      doc: Add Jakob Pfender to AUTHORS section
      fix emphasis in doc file that created a tag
  2. fix emphasis in doc file that created a tag

    Jakob Pfender authored and wincent committed Jun 13, 2017
    Emphasizing 'not' as '*not*' causes :helptags to generate a tag called
    'not'. Because people like writing '*not*' in their documentations, this
    can cause duplicate tag conflicts with other plugins (e.g. the UltiSnips
    doc also generates a 'not' tag).
Commits on Jun 8, 2017
  1. Set switchbuf if it is empty (the default)

    wincent committed Jun 8, 2017
    Try to avoid people running into this issue:
    
      #289
    
    If people end up complaining about this will have to document how to
    avoid this (ie. by setting up a non-default setting in `~/.vim/vimrc`,
    or setting back to the empty default in an "after" file).
Commits on Jun 7, 2017
  1. Update specs → Green

    wincent committed Jun 7, 2017
  2. Prepare for 5.0 release

    wincent committed Jun 7, 2017
  3. Merge branch 'next'

    wincent committed Jun 7, 2017
    * next:
      Correct a deceitful comment
      Update shortlink host
      doc: Add Henric Trotzig to AUTHORS section
      Flesh out tests for `wildignore_to_regexp`
      Simplify converted wildignore regexp
      Fix turning */foo/* wildignore into a regexp
      Fix edge case regression when searching for dotfiles
      Use One True Brace Style consistently
      Use last needle to skip over definite non-matches
      Don't waste time inserting non-matches into the heap(s)
      Fix load paths in matcher benchmarks
      Add g:CommandTWindowFilter
      Revert Gem::Ext::BuildError change
      doc: regenerate AUTHORS section
      doc: don't include self in "other contributors" list
      Invalidate HelpScanner cache when runtimepath changes
      Always re-complete help paths in HelpScanner
      Add :CommandTOpen, baking in "GotoOrOpen" functionality by default
      doc: fix a typo
      Only print mismatching version numbers if they actually mismatch
      doc: fix typo in HISTORY section
      doc: Fix instructions for overriding default mappings
      Add empty .watchmanconfig
      Revert "Remove -c from git-ls-files invocation"
      doc: update instructions for updating AUTHORS section
      doc: add g:CommandTGitIncludeUntracked to HISTORY
      doc: Add Steven Stallion to the list of AUTHORS
      Remove -c from git-ls-files invocation
      Add untracked files to `git ls-files` output
      Add logo to README
      doc: Update AUTHORS and HISTORY
      updated docs
      Remove buffer and update buffer list
      basic remove
      doc: Add Stefan Schmidt to AUTHORS
      update vim-plug install instructions
      Fix bad memoization of help finder
      doc: kill off an unnecessary blank line
      Fix case in a comment
      Remove unnecessary escape_for_single_quotes call
      Uncomment commented-out section
      Make "next" branch slightly less aggressive
      Always use regexp-based wildignore handling
      Adjust spec helper to account for new directory structure
      Update specs to account for 64dbf79
      Make example a tiny bit more real
      Get some slightly realer IPC happening
      Don't log by default
      Move Command-T files deeper
      Frown disappointedly at malformed JSON rather than crashing
      Add configuration options for client and server logs
      Make logfile configurable
      Make sure we never accidentally print to the channel
      Show that it is possible to require the C extension
      Drop unnecessary explicit "nl" mode
      Make simple "echo" server
      Spawn commandtd daemon process at launch
      Fork Command-T engine in preparation for v5.0
      Use <nowait>, when available, to set up buffer-local mappings
Commits on Jun 5, 2017
  1. Correct a deceitful comment

    wincent committed Jun 5, 2017