pangloss/vim-javascript

Unrecognized objects aren't highlighted

jsit opened this issue · 0 comments

jsit commented

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?