feat(python): enable auto_brackets for python, since pyright and basedpyright dont support this natively
This commit is contained in:
@ -108,4 +108,11 @@ return {
|
||||
end,
|
||||
keys = { { "<leader>cv", "<cmd>:VenvSelect<cr>", desc = "Select VirtualEnv" } },
|
||||
},
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
opts = function(_, opts)
|
||||
opts.auto_brackets = opts.auto_brackets or {}
|
||||
table.insert(opts.auto_brackets, "python")
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user