View Full Version : [ubuntu] GVIM: Python Syntax Highlighting
September 7th, 2009, 06:19 PM
I use GVIM as my Python IDE, and it works great, but it has really weak syntax highlighting. I attached one of my unfinished scripts, which on my computer, GVIM only highlights comments, and 'from','import','print', and things like that. I'm sure that there's better syntax highlighting that highlights object/class names and functions, but I'm not sure how to do this. I found this, http://www.vim.org/scripts/script.php?script_id=790, and followed the instructions, but I see no improvement. Help?
September 7th, 2009, 06:53 PM
Emacs, emacs, emacs...
September 7th, 2009, 08:27 PM
vim, vim, vim. gvim at a stretch.
attaching what that file looks like for me in gvim. syntax highlighting seems fine -- comments, strings, keywords, function-names, class-names etc. all are highlighted. is this not what you are seeing, or do we just disagree on aesthetics :)
September 8th, 2009, 05:13 AM
@DaithiF: That's what I see,too. But on my other ubuntu, the things like os, sys, OptionParser are also highlighted. I remember vaguely doing some things do certain files, but I have no idea what I did. Any idea?
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.