Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gVim on Windows reporting Pattern not found when starting #14

Closed
FilBot3 opened this issue Aug 29, 2020 · 2 comments
Closed

gVim on Windows reporting Pattern not found when starting #14

FilBot3 opened this issue Aug 29, 2020 · 2 comments

Comments

@FilBot3
Copy link

FilBot3 commented Aug 29, 2020

I have gVim 8.2 running on Windows 10. I have poetry installed and am able to run it from the terminal within Vim and also from Cmder. I then have the plugin cloned into the following folder

  • $env:HOME\vimfiles\pack\vendor\start\peot-v

I can start up gVim and see from running :scriptnames that it's loading. I then put in $MYVIMRC the following snippet to have it automatically load the virtualenv so pylint stops complaining that it can't find diagrams in the load path

" poet-v
try
  g:poetv_auto_activate = 1
endtry

However, when I start gVim, it says that: Pattern not found: poetv_auto_activate = 1.

2020-08-28 19_05_47-Window

The same thing happens when using command-line vim.

Poetry Version

> poetry --version
Poetry version 1.0.10
@petobens
Copy link
Owner

petobens commented Aug 29, 2020

I don't use windows or gvim but can you try writing the setting as let g:poetv_auto_activate = 1 instead? (note the let which is used by vim to define variables).

@FilBot3
Copy link
Author

FilBot3 commented Aug 30, 2020

Duh. I totally forgot I needed to put the let in there. That did the trick. Thank you.

@FilBot3 FilBot3 closed this as completed Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants