Skip to content

Commit

Permalink
Fix shadow-cljs build-id to trim the beginning colon #105
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidz committed Mar 22, 2019
1 parent eefefd2 commit 60dc0c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/iced/nrepl/cljs/shadow_cljs.vim
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function! iced#nrepl#cljs#shadow_cljs#get_env(options) abort
return iced#message#get('argument_missing', 'build-id is required.')
endif

let s:build_id = a:options[0]
let s:build_id = trim(a:options[0], ' :')
return {'does_use_piggieback': v:false,
\ 'pre-code': {-> '(require ''shadow.cljs.devtools.api)'},
\ 'env-code': {-> {'raw': printf('(shadow.cljs.devtools.api/repl :%s)', s:build_id)}}}
Expand Down

0 comments on commit 60dc0c6

Please sign in to comment.