Hi,
On Monday, 2021-11-22 09:06:00 -0800, kaushal wrote:
> I am using vim editor to write python scripts. Is there a way to enable
> syntax, help and indentation of python script?
Maybe your installation just lacks some things?
I have
find /usr/share/vim/ -name '*python*'
(Fedora, vim-common package)
/usr/share/vim/vim82/autoload/pythoncomplete.vim
/usr/share/vim/vim82/autoload/python3complete.vim
/usr/share/vim/vim82/syntax/python.vim
/usr/share/vim/vim82/ftplugin/python.vim
/usr/share/vim/vim82/indent/python.vim
or
(Debian, vim-runtime package)
/usr/share/vim/vim81/ftplugin/python.vim
/usr/share/vim/vim81/autoload/pythoncomplete.vim
/usr/share/vim/vim81/autoload/python3complete.vim
/usr/share/vim/vim81/syntax/python.vim
/usr/share/vim/vim81/indent/python.vim
and syntax highlighting and indentation work.
If on Windows, find out where these are installed and maybe adjust your
$VIM or eve $VIMRUNTIME paths. See :h $VIM and :h $VIMRUNTIME
Eike
--
OpenPGP/GnuPG encrypted mail preferred in all private communication.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Use LibreOffice!
https://www.libreoffice.org/