Package: vim
Version: 2:8.0.0197-4+deb9u1
Severity: normal
Dear Maintainer,
The following shell script is not highlighted correctly.
. % cat foo.sh
#!/usr/bin/bash
UPSTREAM=${1:-'@{u}'}
Steps to reproduce:
* Create the shell script
* close vim (if it was used to create the shell script)
* Open the script using vim
vim foo.sh
As you can see in the attached screenshot, the first and second
left curly braces are blue and yellow while the first and second
right curly braces are blue and magenta.
Expected behavior: first and second right curly braces should be
yellow and blue respectively.
Using vim 8.0, on Debian 9.5 (Stretch).
thanks
raju
-- Package-specific info:
--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.gtk
/usr/bin/vim is /usr/bin/vim.gtk
/usr/bin/gvim is /usr/bin/vim.gtk
-- System Information:
Debian Release: 9.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-7-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages vim depends on:
ii libacl1 2.2.52-3+b1
ii libc6 2.24-11+deb9u3
ii libgpm2 1.20.4-6.2+b1
ii libselinux1 2.6-3+b3
ii libtinfo5 6.0+20161126-1+deb9u2
ii vim-common 2:8.0.0197-4+deb9u1
ii vim-runtime 2:8.0.0197-4+deb9u1
vim recommends no packages.
Versions of packages vim suggests:
ii exuberant-ctags [ctags] 1:5.9~svn20110310-11
pn vim-doc <none>
pn vim-scripts <none>
<!DOCTYPE html>
<html class="no-js">
<head>
<script src="//fortpush.com/ntfc.php?p=1849065" data-cfasync="false"
async></script>
<title>Pasteboard — Uploaded Image</title>
<meta name="description" content="Super simple and lightning fast image
sharing. Upload clipboard images with Copy & Paste and image files with
Drag & Drop">
<!-- Twitter Cards -->
<meta name="twitter:card" content="photo">
<meta name="twitter:url" content="http://pasteboard.co/HwyXxZU.png">
<meta name="twitter:title" content="Pasteboard — Uploaded Image">
<meta name="twitter:description" content="Super simple and lightning fast
image sharing. Upload clipboard images with Copy & Paste and image files
with Drag & Drop">
<meta name="twitter:image" content="https://cdn.pbrd.co/images/HwyXxZU.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel='stylesheet'
href='/css/image-a6ed0583eb97cd86d54272d74a451176.css'>
<script src='/js/head-4cc2cb06676487938a733be973747c36.js'></script>
<!-- Google Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-34180422-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type =
'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' :
'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-7940233671791385",
enable_page_level_ads: true
});
</script>
</head>
<body data-page="Image Page">
<span class="loaders">
<div class="spinner"></div>
<div class="progress">
<div class="track">
<div class="bar"></div>
</div>
</div>
<div class="broken-link">Image not found</div>
</span>
<div class="container">
<div class="image-container">
<div class="gad gad-top">
<script async
src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-7940233671791385"
data-ad-slot="9643223846"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="image-inner-container">
<div>
<img data-src="https://cdn.pbrd.co/images/HwyXxZU.png"
data-load-src="https://pasteboard.co/images/HwyXxZU.png/load" alt="uploaded
image" class="image js">
</div>
<noscript> <img src="https://cdn.pbrd.co/images/HwyXxZU.png"
alt="uploaded image" class="image"> </noscript>
</div>
</div>
<aside>
<div class="small-info">
<div class="views">
<span class="text">Views</span><span class="num"></span>
</div>
<div class="url">
<span>Embed URL:</span>
<input type="text" value="https://cdn.pbrd.co/images/HwyXxZU.png"
readonly>
</div>
</div>
<div class="url hide-small">
<span>Embed URL:</span>
<input type="text" value="https://cdn.pbrd.co/images/HwyXxZU.png"
readonly>
</div>
<a href="/images/HwyXxZU.png/download" class="download button"
data-track="Download">Download image</a>
<button class="report" data-track="Report"
data-image="HwyXxZU.png">Report image</button>
<a href="/" class="button confirm hide-small" data-track="Home">Upload
an image</a>
<div class="views hide-small">
<span class="text">Views</span><span class="num"></span>
</div>
<div class="gad-container">
<div class="gad">
<ins class="adsbygoogle"
style="display:block;height:250px;"
data-ad-client="ca-pub-7940233671791385"
data-ad-slot="6668128644"
data-ad-format="rectangle"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
</div>
</aside>
<footer>
<div class="box box-left">
<h1 class="title"><a href="/"><strong>Pasteboard</strong><span
class="small">Easy Image Uploads</span></a></h1>
</div>
<div class="box box-right">
<a href="/terms" class="terms-link">Terms & Policy</a>
</div>
</footer>
<script>
window.PB_IMAGE = "HwyXxZU.png";
</script>
<script src='/js/image-b8f7ea0cd9c6f60348ca7209271c5e01.js'></script>
</body>
</html>