You've already forked dotfiles
fix: Adding a better python virtualenv loading for LSP completion in a
project's directory and installed dependencies. Removing render-markdown from being default enabled, but leaving it in for now.
This commit is contained in:
@@ -130,6 +130,13 @@ return {
|
||||
name = 'Launch current file',
|
||||
request = 'launch',
|
||||
program = '${file}',
|
||||
pythonPath = function ()
|
||||
if vim.env.VIRTUAL_ENV then
|
||||
return vim.env.VIRTUAL_ENV .. '/bin/python'
|
||||
end
|
||||
|
||||
return vim.fn.exepath('python3') or vim.fn.exepath('python') or 'python'
|
||||
end
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user