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: yuki-yano/fzf-preview.vim
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: kuuote/fzf-preview.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.
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Dec 31, 2020

  1. Refactor rpc server function name

    diff --git a/autoload/fzf_preview/rpc.vim b/autoload/fzf_preview/rpc.vim
    index 589b091..4d6e56e 100644
    --- a/autoload/fzf_preview/rpc.vim
    +++ b/autoload/fzf_preview/rpc.vim
    @@ -14,7 +14,7 @@ let default_processes = {}
     call s:Promise.on_unhandled_rejection({ err -> fzf_preview#rpc#log('[ERROR]', err) })
    
     function! fzf_preview#rpc#initialize() abort
    -  call s:server()
    +  call s:start()
    
       function! s:initialize_default_processes(response) abort
         let s:default_processes = a:response
    @@ -30,7 +30,7 @@ function! fzf_preview#rpc#get_default_processes(name) abort
     endfunction
    
     function! fzf_preview#rpc#command(command, ...) abort
    -  call s:server()
    +  call s:start()
       if a:0 == 0
         call s:state.server.request('execCommand', { 'commandName': a:command })
       else
    @@ -52,7 +52,7 @@ function! fzf_preview#rpc#log(...) abort
       endif
     endfunction
    
    -function! s:server() abort
    +function! s:start() abort
       try
         if !empty(s:state.server)
           return s:state.server
    yuki-yano committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    794519e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f383639 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9df3397 View commit details
    Browse the repository at this point in the history
Loading