diff --git a/filesets/base/nvim/.config/nvim/lua/plugins/init.lua b/filesets/base/nvim/.config/nvim/lua/plugins/init.lua index d7bf202..cb8e24d 100644 --- a/filesets/base/nvim/.config/nvim/lua/plugins/init.lua +++ b/filesets/base/nvim/.config/nvim/lua/plugins/init.lua @@ -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'} diff --git a/filesets/base/nvim/.config/nvim/lua/plugins/poet-v.lua b/filesets/base/nvim/.config/nvim/lua/plugins/poet-v.lua deleted file mode 100644 index 6bfd39e..0000000 --- a/filesets/base/nvim/.config/nvim/lua/plugins/poet-v.lua +++ /dev/null @@ -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 }