Thursday, February 9, 2023

Re: vim_runtime: does someone use this...

Hi Gary, yes you're right, my explanation wasn't as good as it had to be. 
I'm "trying" to use vim_runtime from here: 
so this adds the hole vim-files to ~/.vim_runtime/ and under this folder there are ALL-vimrelated files. There are plugins like the jedi-plug-in, ther NERDtree and many more are in ~/.vim_runtime/. Also there is a my_config.vim and in this there are my settings. So there is an option "set relativenumber" and other settings, but when i'm starting vim, the relativenumbers aren't shown, so i have to "set nu" and again "set rnu" than my rel-numbers are there. Closing vim, and starting it again my numbers are gone away. 
Further there is my jedi-vim and opening a python file there will be shown this message:
jedi-vim: Error when loading the jedi python module (module 'jedi' has no attribute '__version__'). Please ensure that Jedi is installed correctly (see Installation in the README.

But some words were highlighted and i don't know, why this were shown and where i have to search for solving this message. 

This is my vim"problem. I don't know, if my own ~/.vim-runtime/ related stuff would be used. the "regular" ~/.vimrc is linked to ~/.vim-runtime ....

Thanks Gary and regards Sebastian

Am Do., 9. Feb. 2023 um 22:17 Uhr schrieb Gary Johnson <garyjohn@spocom.com>:
On 2023-02-09, 'Sebastian Gödecke' via vim_use wrote:
> Hi, 
> nobody there?
> I checked this twice, in my_config.vim are my default settings, but the
> settings wouldn't load. Additional in in the file i "set rnu" but this also
> wouldn't be set up. 
> So how to start to "debug" this?
>
>
> Am Di., 7. Feb. 2023 um 16:27 Uhr schrieb Sebastian Gödecke:
>
>     Hi, 
>     and could help me in clearify: i should have jedi.vim in the "plugins"
>     folder "sourced_non_forked". so i think it should be running, but how could
>     i check this? 
>     I get an error when opening e.g python files:
>     jedi-vim: Error when loading the jedi python module (module 'jedi' has no
>     attribute '__version__'). Please ensure that Jedi is installed correctly
>     (see Installation in the README.
>
>     How to handle with this?
>     regards Sebastian

I'm glad to help, but there's a lot in your explanation I don't
understand.

In my installation of Vim, there are no folders named "plugings" or
"sourced_non_forked".  I don't know what folders you are referring
to.

What "config.vim" file are you referring to?  The only files named
"config.vim" that I find in my Vim installation are these:

    /usr/local/share/vim/vim90/ftplugin/config.vim
    /usr/local/share/vim/vim90/indent/config.vim
    /usr/local/share/vim/vim90/syntax/config.vim

Those are used to aid with editing files for configure scripts--they
are not used for configuring Vim.  Vim's primary configuration file
is one of these:

    On Unix:
        ~/.vimrc
        ~/.vim/vimrc

    On Windows:
        ~/_vimrc
        ~/vimfiles/vimrc

See:

    :help vimrc

Where exactly did you put jedi.vim?  The traditional location for
plugins is the folder ~/.vim/plugin on Unix or ~/vimfiles/plugin on
Windows.  See:

    :help plugin

Recent versions of Vim and Vim plugin managers put plugins in
different directories, but I am not familiar with any of those.  You
can find out more about Vim packages here:

    :help packages

You can determine whether Vim has loaded your plugin by executing
the ":scriptnames" command and looking for config.vim and  jedi.vim
in that list.  See:

    :help :scriptnames

That should get us started in figuring out what went wrong.

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20230209211717.GH6446%40phoenix.


--
Mit freundlichen Grüßen
Sebastian Gödecke

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJRNCbaAHmQxcM5%3Dr7KDGaEP7%3D26QprZUmOkWZJT82XjHe7KNw%40mail.gmail.com.

No comments: