File tree Expand file tree Collapse file tree 2 files changed +23
-11
lines changed
mason-core/installer/managers Expand file tree Collapse file tree 2 files changed +23
-11
lines changed Original file line number Diff line number Diff line change @@ -207,18 +207,17 @@ local function pip_install(pkgs, extra_args)
207207 pkgs ,
208208 }
209209 else
210- return venv_python {
211- " -m" ,
212- " pip" ,
213- " --disable-pip-version-check" ,
214- " install" ,
215- " --no-user" ,
216- " --ignore-installed" ,
217- extra_args or vim .NIL ,
218- pkgs ,
219- }
210+ return venv_python {
211+ " -m" ,
212+ " pip" ,
213+ " --disable-pip-version-check" ,
214+ " install" ,
215+ " --no-user" ,
216+ " --ignore-installed" ,
217+ extra_args or vim .NIL ,
218+ pkgs ,
219+ }
220220 end
221-
222221end
223222
224223--- @async
Original file line number Diff line number Diff line change @@ -227,6 +227,19 @@ local function check_languages()
227227 apt-get install python3-venv]] ,
228228 },
229229 }
230+ check {
231+ cmd = " uv" ,
232+ args = {},
233+ name = " uv" ,
234+ relaxed = true ,
235+ advice = {
236+ [[ `uv` not installed, if you want to use the `use_uv` argument
237+ in the pip section of the configuration, you must install it.
238+
239+ https://docs.astral.sh/uv/getting-started/installation/
240+ ]] ,
241+ },
242+ }
230243 end ,
231244 function ()
232245 a .scheduler ()
You can’t perform that action at this time.
0 commit comments