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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ return {
|
||||
vim.treesitter.language.register('markdown', 'telekasten')
|
||||
|
||||
require('render-markdown').setup({
|
||||
enabled = true,
|
||||
enabled = false,
|
||||
-- render_modes = { 'n', 'c', 't' },
|
||||
max_file_size = 10.0,
|
||||
debounce = 100,
|
||||
|
||||
Reference in New Issue
Block a user