nvim: Remove poet-v

master
Ian Mancini 3 years ago
parent f16ae22a66
commit f714f732d9

@ -151,12 +151,6 @@ return require('packer').startup(function()
config = [[require('plugins.nvim-web-devicons')]]
}
-- Python
use {
'petobens/poet-v',
config = [[require('plugins.poet-v')]]
}
-- Blade
use {'Eduruiz/vim-blade'}

@ -1,24 +0,0 @@
vim.g.poetv_executables = { 'poetry' }
vim.g.poetv_auto_activate = 0
vim.g.poetv_set_environment = 1
function _G.ResetPyright()
local clients = vim.lsp.get_active_clients()
for _, client in pairs(clients) do
if client.name == 'pyright' then
vim.lsp.reset(client.id)
end
end
end
vim.api.nvim_exec([[
augroup poetv_autocmd
au!
au WinEnter,BufWinEnter *.py silent |
if &previewwindow != 1 && expand('%:p') !~# "/\\.git/"
call poetv#activate() | v:lua.ResetPyright() |
endif
augroup END
]], true)
return { ResetPyright = _G.ResetPyright }
Loading…
Cancel
Save