pangloss / vim-javascript

Vastly improved Javascript indentation and syntax support in Vim.
http://www.vim.org/scripts/script.php?script_id=4452
3.79k stars 357 forks source link

Unrecognized objects aren't highlighted #1217

Open jsit opened 4 years ago

jsit commented 4 years ago

Minimal .vimrc:

set nocompatible                                        
set runtimepath=~/.vim/bundle/vim-javascript,$VIMRUNTIME
filetype plugin on                                      
filetype indent on                                      
syntax on                                               

Example JS:

const foobar = new Array();

foobar.push('lorem ipsum');

foobar on the third line isn't highlighted as anything. Would it be too aggressive to highlight strings followed by dots as objects?