Skip to content

Commit 75a63a6

Browse files
committed
Web.AsyncHTTP: Move HTTP_python scripts to HTTP core directory.
1 parent 4361f9e commit 75a63a6

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

autoload/vital/__vital__/Web/HTTP.vim

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
let s:save_cpo = &cpo
22
set cpo&vim
33

4-
let s:py2source = expand('<sfile>:h') . '/HTTP_python2.py'
5-
let s:py3source = expand('<sfile>:h') . '/HTTP_python3.py'
6-
74
function! s:_vital_loaded(V) abort
85
let s:V = a:V
96
let s:Prelude = s:V.import('Prelude')
@@ -15,7 +12,6 @@ endfunction
1512
function! s:_vital_depends() abort
1613
return {
1714
\ 'modules':['Prelude', 'Data.String', 'Process', 'Web.HTTP.Core'] ,
18-
\ 'files': ['HTTP_python2.py', 'HTTP_python3.py'],
1915
\}
2016
endfunction
2117

autoload/vital/__vital__/Web/HTTP/Core.vim

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
let s:save_cpo = &cpo
22
set cpo&vim
33

4+
let s:py2source = expand('<sfile>:h') . '/HTTP_python2.py'
5+
let s:py3source = expand('<sfile>:h') . '/HTTP_python3.py'
6+
47
function! s:_vital_loaded(V) abort
58
let s:V = a:V
69
let s:Prelude = s:V.import('Prelude')
@@ -11,7 +14,7 @@ endfunction
1114
function! s:_vital_depends() abort
1215
return {
1316
\ 'modules':['Prelude', 'Data.String', 'Process'] ,
14-
\ 'files': [],
17+
\ 'files': ['./HTTP_python2.py', './HTTP_python3.py'],
1518
\}
1619
endfunction
1720

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)