Skip to content

Commit

Permalink
Remove old denops.vim support
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jun 17, 2024
1 parent e4ce38a commit b756fb5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions autoload/dpp/denops.vim
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ function dpp#denops#_notify(method, args) abort
return s:notify(a:method, a:args)
endfunction

function dpp#denops#_load(name, path) abort
try
call denops#plugin#load(a:name, a:path)
catch /^Vim\%((\a\+)\)\=:E117:/
" Fallback to `register` for backward compatibility
silent! call denops#plugin#register(a:name, a:path, #{ mode: 'skip' })
endtry
endfunction

function s:init() abort
if 's:initialized'->exists()
return
Expand Down Expand Up @@ -103,7 +94,7 @@ endfunction
const s:root_dir = '<sfile>'->expand()->fnamemodify(':h:h:h')
const s:sep = has('win32') ? '\' : '/'
function s:register() abort
call dpp#denops#_load(
call denops#plugin#load(
\ 'dpp',
\ [s:root_dir, 'denops', 'dpp', 'app.ts']->join(s:sep)
\ )
Expand Down

0 comments on commit b756fb5

Please sign in to comment.