Results 1 to 4 of 4

Thread: GVIM: Python Syntax Highlighting

  1. #1
    Join Date
    Mar 2009
    Beans
    28

    GVIM: Python Syntax Highlighting

    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?
    Attached Files Attached Files

  2. #2
    Join Date
    Dec 2006
    Location
    Hamburg, Germany
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: GVIM: Python Syntax Highlighting

    Emacs, emacs, emacs...
    One ought, every day at least, to hear a little song, read a good poem, see a fine picture, and, if it were possible, speak a few reasonable words...

  3. #3
    Join Date
    Jul 2009
    Location
    London
    Beans
    1,480
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: GVIM: Python Syntax Highlighting

    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
    Attached Images Attached Images

  4. #4
    Join Date
    Mar 2009
    Beans
    28

    Re: GVIM: Python Syntax Highlighting

    @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?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •