Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
helpers/.encodings
4 changes: 2 additions & 2 deletions autoload/jukit/convert.vim
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fun! s:convert_to_ipynb(args) abort
endfun

fun! s:convert_to_script() abort
let file_current = escape(expand("%:p"), ' \')
let file_current = escape(expand("%:p"), '\')

python3 << EOF
import vim, os, sys, json
Expand Down Expand Up @@ -129,7 +129,7 @@ fun! jukit#convert#save_nb_to_file(run, open, to) abort
let viewer = 'xdg-open'
endif

let file_current = escape(expand("%:p"), ' \')
let file_current = escape(expand("%:p"), '\')
let fname = escape(expand("%:p:r"), ' \')
let ipynb_file = fname . '.ipynb'
let html_theme = get(g:, 'jukit_html_theme', 'dark')
Expand Down
1 change: 1 addition & 0 deletions helpers/ipynb_convert/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ def get_json(file):
content = json.load(f)
return content
else:
print('file not found')
return {}


Expand Down