Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/junegunn/fzf. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Nov 08, 2019
  2. Nov 05, 2019
    • Alexandr's avatar
      Improvements to code quality and readability (#1737) · b4cccf23
      Alexandr authored
      * Remove 1 unused field and 3 unused functions
      
      unused elements fount by running
      golangci-lint run --disable-all --enable unused
      
      src/result.go:19:2: field `index` is unused (unused)
              index  int32
              ^
      src/tui/light.go:716:23: func `(*LightWindow).stderr` is unused (unused)
      func (w *LightWindow) stderr(str string) {
                            ^
      src/terminal.go:1015:6: func `numLinesMax` is unused (unused)
      func numLinesMax(str string, max int) int {
           ^
      src/tui/tui.go:167:20: func `ColorPair.is24` is unused (unused)
      func (p ColorPair) is24() bool {
                         ^
      
      * Address warnings from "gosimple" linter
      
      src/options.go:389:83: S1003: should use strings.Contains(str, ",,,") instead (gosimple)
              if str == "," || strings.HasPrefix(str, ",,") || strings.HasSuffix(str, ",,") || strings.Index(str, ",,,") >= 0 {
                                                                                               ^
      src/options.go:630:18: S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
              executeRegexp = regexp.MustCompile(
                              ^
      src/terminal.go:29:16: S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
              placeholder = regexp.MustCompile("\\\\?(?:{[+sf]*[0-9,-.]*}|{q}|{\\+?f?nf?})")
                            ^
      src/terminal_test.go:92:10: S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
              regex = regexp.MustCompile("\\w+")
                      ^
      
      * Address warnings from "staticcheck" linter
      
      src/algo/algo.go:374:2: SA4006: this value of `offset32` is never used (staticcheck)
              offset32, T := alloc32(offset32, slab, N)
              ^
      src/algo/algo.go:456:2: SA4006: this value of `offset16` is never used (staticcheck)
              offset16, C := alloc16(offset16, slab, width*M)
              ^
      src/tui/tui.go:119:2: SA9004: only the first constant in this group has an explicit type (staticcheck)
              colUndefined Color = -2
              ^
      b4cccf23
  3. Nov 02, 2019
  4. Oct 27, 2019
  5. Oct 17, 2019
  6. Oct 11, 2019
  7. Oct 08, 2019
  8. Sep 29, 2019
  9. Sep 09, 2019
  10. Aug 09, 2019
  11. Aug 08, 2019
    • Junegunn Choi's avatar
      [bash-completion] Add _fzf_setup_completion to enable fuzzy completion · 50958992
      Junegunn Choi authored
      While we can attach `_fzf_path_completion` or `_fzf_dir_completion` to
      any command using the standard bash complete command, the functionality
      of the existing completion function is lost.
      
      Use _fzf_setup_completion if you want to extend the existing function
      with fuzzy completion instead of completely replacing it.
      
      e.g. _fzf_setup_completion path kubectl
      50958992
  12. Aug 06, 2019
  13. Jul 19, 2019
  14. Jul 17, 2019
  15. Jul 13, 2019
    • ssjhv's avatar
      [fish] Remove perl from fish key bindings (#1635) · e7097a9d
      ssjhv authored
      Perl was used to remove the trailing newline character, but fzf already
      has --print0 to use null character as terminators, and fish read -z is
      expecting null character as terminators. There is no reason to depend on
      perl if --print0 is passed to fzf invocation.
      e7097a9d
  16. Jul 09, 2019
  17. Jun 08, 2019
  18. Jun 05, 2019
  19. Jun 03, 2019
  20. May 26, 2019
  21. May 21, 2019
  22. May 07, 2019
  23. May 01, 2019
  24. Apr 21, 2019
  25. Apr 18, 2019
Loading