Skip to content

Commit

Permalink
fixup! vim: cworksheet#CWorksheetEvaluate: handle None response
Browse files Browse the repository at this point in the history
  • Loading branch information
rgoulter committed May 18, 2024
1 parent e805d6c commit f34e8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/cworksheet.vim
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ EOF
" Assumes vim has python3 support
let ws_output = py3eval("wsfy_output")

if ws_output != v:none
if (exists('v:none') && ws_output isnot v:none) || ws_output isnot v:null
" Each enter in `ws_output` corresponds to output to
" append-to the line.
" Being from line 1.
Expand Down

0 comments on commit f34e8ca

Please sign in to comment.