vim doesn't recognize ProC syntax in edgy

Bug #86916 reported by Arturo Olguín Cruz
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Fix Released
Micah Cowan

Bug Description

Binary package hint: vim-runtime

Files with extension .pc aren't recognized by vim (for syntax highlight). I could resolve the issue modifying the file /usr/share/vim/vim70/filetype.vim:

Original line:

au BufNewFile,BufRead .pc setf proc

Modified line:

au BufNewFile,BufRead *.pc setf esqlc

Related branches

Revision history for this message
Micah Cowan (micahcowan) wrote :

Confirmed, submitting upstream.

Changed in vim:
status: Unconfirmed → Confirmed
assignee: nobody → micahcowan
status: Confirmed → In Progress
Revision history for this message
Micah Cowan (micahcowan) wrote :

Change has been committed upstream; patch released.

Changed in vim:
importance: Undecided → Low
Revision history for this message
Micah Cowan (micahcowan) wrote :

Note that the patch that I submitted, and which has now been checked-in upstream, still sets filetype to proc, rather than esqlc; I'm not sure why your version had it set to esqlc, Arturo? At any rate, neither filetype has plugins associated with it in any default install, so neither one will do much, particularly.

Revision history for this message
Micah Cowan (micahcowan) wrote :

I've placed the fix for this into the debdiff for bug 113227.

Revision history for this message
Colin Watson (cjwatson) wrote :

vim (1:7.1-000+1ubuntu2) gutsy; urgency=low

  [ Micah Cowan ]
  * patches/screen-mouse-support.diff:
    - Enable detection of GNU screen as a mouse-capable terminal
      (LP: #113227)
  * patches/proc-filetype-detection-fix.diff:
    - Fix detection of files of type Oracle ProC (LP: #86916)

  [ Colin Watson ]
  * patches/debchangelog_launchpad.diff:
    - Highlight Launchpad bug-closing syntax in debian/changelog files.

 -- Colin Watson <email address hidden> Wed, 04 Jul 2007 04:38:55 +0100

Changed in vim:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers