We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 947dc0d commit c7f73e6Copy full SHA for c7f73e6
autoload/jack_in.vim
@@ -76,8 +76,16 @@ function! jack_in#clj_cmd(...)
76
77
let l:deps_map .= '}}'
78
let l:cider_opts .= ']\")"'
79
+ let l:m = '-M '
80
- return l:clj_string . ' -Sdeps ''' . l:deps_map . ''' ' . join(a:000, ' ') . ' ' . l:cider_opts . ' '
81
+ for arg in a:000
82
+ if arg =~ '^-M:'
83
+ let l:m = ''
84
+ break
85
+ endif
86
+ endfor
87
+
88
+ return l:clj_string . ' -Sdeps ''' . l:deps_map . ''' ' . join(a:000, ' ') . ' ' . l:m . l:cider_opts . ' '
89
endfunction
90
91
function! jack_in#clj(is_bg, ...)
0 commit comments