Skip to content

Commit

Permalink
fix(python-ruff): Change astronvi.utils to astrocore, and mapping l…
Browse files Browse the repository at this point in the history
…ogic to v4 (#661)

fix(python-ruff): `utils` require  error
  • Loading branch information
whitemoon authored Dec 1, 2023
1 parent 62eb528 commit f299971
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions lua/astrocommunity/pack/python-ruff/init.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local utils = require "astronvim.utils"
local utils = require "astrocore"
return {
{
"nvim-treesitter/nvim-treesitter",
Expand Down Expand Up @@ -28,8 +28,19 @@ return {
},
{
"linux-cultist/venv-selector.nvim",
dependencies = {
{
"AstroNvim/astrocore",
opts = {
mappings = {
n = {
["<Leader>lv"] = { "<CMD>VenvSelect<CR>", desc = "Select VirtualEnv" },
},
},
},
},
},
opts = {},
keys = { { "<Leader>lv", "<CMD>:VenvSelect<CR>", desc = "Select VirtualEnv" } },
},
{
"mfussenegger/nvim-dap-python",
Expand Down

0 comments on commit f299971

Please sign in to comment.