PowerGod
Forum Addict!
- Joined
- Jun 20, 2011
- Messages
- 4,456
I didn't use VIM directly on the Pandora in the last years, the one from "opkg", but I found out that the default syntaxes are wrong for the current version (7.2).
You can find syntax files for the 7.2 version here:
INSTRUCTIONS:
1) Extract this folder from the archive: "vim72/runtime/syntax/"
2) Put all the extracted files inside the folder "~/.vim/syntax/"
This command can do the job in a sigle run.
Now the editor will use the correct files.
WARNING:
If Vim is used from some PND package most probably will not use the system HOME folder, and in that case the path where to put the files could be different.
You can find syntax files for the 7.2 version here:
INSTRUCTIONS:
1) Extract this folder from the archive: "vim72/runtime/syntax/"
2) Put all the extracted files inside the folder "~/.vim/syntax/"
This command can do the job in a sigle run.
Code:
tar -xvjf vim-7.2.tar.bz2 -C ~/.vim/syntax/ --wildcards 'vim72/runtime/syntax/*.vim' --strip-components 3
Now the editor will use the correct files.
WARNING:
If Vim is used from some PND package most probably will not use the system HOME folder, and in that case the path where to put the files could be different.
Last edited: