← Back to team overview

touch-packages team mailing list archive

[Bug 1380110] [NEW] comments inside parentheses mess up the syntax coloring of shell script

 

Public bug reported:

Hi,

I've found the following bug with syntax coloring of shell scripts in vi and vim.
If you add comments outside parenthesis, it works fine.
But if you add comments inside parenthesis, or worse comments with quotes, the syntax coloring is totally messed up.

I join a sample shell script to demonstrate the bug.

Best regards,
   Laurent Lyaudet

** Affects: vim (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "sample script to reproduce the bug"
   https://bugs.launchpad.net/bugs/1380110/+attachment/4231654/+files/testBugVim.sh

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/1380110

Title:
  comments inside parentheses mess up the syntax coloring of shell
  script

Status in “vim” package in Ubuntu:
  New

Bug description:
  Hi,

  I've found the following bug with syntax coloring of shell scripts in vi and vim.
  If you add comments outside parenthesis, it works fine.
  But if you add comments inside parenthesis, or worse comments with quotes, the syntax coloring is totally messed up.

  I join a sample shell script to demonstrate the bug.

  Best regards,
     Laurent Lyaudet

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1380110/+subscriptions


Follow ups

References