1. Copied python311.dll, python3.dll, vcruntime140.dll in your distro path expand('$vim/extensions/python/x86')
2. Put this in your _vimrc
if has('win32')
if isdirectory( expand('$vim/extensions/python/x86') )
var pythonthree_homes: list<string> = system('where "python311.dll"')->split('\n')
execute 'set pythonthreedll=' .. pythonthree_homes[1]->fnamemodify(':p:gs?\\?/?')
endif
endif
3. Testing Py3 v3.11 interface
nnoremap <silent> <F8> :exec 'py3 import sys'<cr> :exec 'py3 print(''python3 hell working'')'<cr>
Le mardi 2 novembre 2021 à 14:39:04 UTC+1, Ni Va a écrit :
Tagbar plugin is executing python3 command that is closing GVim.See autoload/Tagbar.vim -> s:run_system(cmd, version)Version of python not integrated yet : 3.11.0Le samedi 23 octobre 2021 à 13:07:02 UTC+2, Ni Va a écrit :Hi,I daily use Gvim reading source code or other with TagBar plugin under Win10 OS under GVim 32bits x86 8.2.3558 build with ming under MSYS2.It appears that TagBarToogle it works perfectly on my physical laptop Win10 64bits meanwhile an exception seems closing Gvim under Virtual MAchine under same OS.Thanks for helping.NiVaGvimVIM - Vi IMproved 8.2 (2019 Dec 12, compiled Oct 23 2021 12:24:35)MS-Windows 32-bit GUI version with OLE supportIncluded patches: 1-3558TagBar*tagbar.txt* Display tags of a file ordered by scopeAuthor: Jan LarresLicence: Vim licence, see |license|Homepage: https://preservim.github.io/tagbarVersion: 2.7CtagsUniversal Ctags 5.9.0(c0b04ae1), Copyright (C) 2015 Universal Ctags TeamUniversal Ctags is derived from Exuberant Ctags.Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren HiebertCompiled: Oct 13 2021, 16:48:46URL: https://ctags.io/Optional compiled features: +win32, +wildcards, +regex, +gnulib_regex, +unix-path-separator, +iconv, +option-directory, +case-insensitive-filenames, +packcc, +optscript
--
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/5cd8b241-b92f-4dcc-8361-807c3e67ff1bn%40googlegroups.com.
No comments:
Post a Comment