Norman Abramovitz wrote: > > Still seeing incorrect syntax highlighting for shell scripts > > " Vim syntax file > " Language: shell (sh) Korn shell (ksh) bash (sh) > " Maintainer: Charles E. Campbell [email protected] > <mailto:[email protected]> > " Previous Maintainer: Lennart Schultz [email protected] > <mailto:[email protected]> > " Last Change: Sep 22, 2016 > " Version: 165 > > #!/bin/bash > > a="\"" > > # syntax highlighting is correct > [[ "${a}" = [\"\'] ]] && { > echo "found quote 1" > } > > # syntax highlighting is incorrect (flipped around the quotes in []) > [[ "${a}" = [\'\"] ]] && { > echo found quote 2 > } > > — > I see no problem. Of course, I'm using syntax/sh.vim v168.
Regards, Chip Campbell P.S. see http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
