Skip to content

Develop -> Master #442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 43 commits into from
May 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
105a4aa
Switch mechanics, indent
bounceme Apr 25, 2016
0e7983d
Merge pull request #400 from pangloss/switch
amadeus Apr 26, 2016
dde16a0
Fix class definitions with no name
amadeus Apr 26, 2016
e8657a8
Merge pull request #402 from amadeus/fix-401
amadeus Apr 27, 2016
c4ccee6
Custom jsFuncName for object definitions
amadeus Apr 27, 2016
b4e2fae
Update javascript.vim
bounceme Apr 27, 2016
187594a
Merge pull request #403 from amadeus/fix-261
amadeus Apr 27, 2016
e60e4eb
Merge pull request #404 from pangloss/misc.fixes
bounceme Apr 28, 2016
50c433e
Fix Issue 406
amadeus Apr 29, 2016
304e2ac
Merge pull request #409 from amadeus/fix-406
amadeus Apr 29, 2016
d2fa176
multiline comment (#408)
bounceme Apr 30, 2016
617ccb5
Update javascript.vim
bounceme Apr 30, 2016
8fb5fa8
parentheses regex is thankfully gone (#412)
bounceme May 2, 2016
0fecb92
Temporary fix for older versions of vim
amadeus May 2, 2016
10b6c64
Merge pull request #414 from amadeus/fix-lookbehinds
amadeus May 2, 2016
8f16491
indent following line ending in comma with arrow (#420)
bounceme May 7, 2016
c9eda1f
template fixes (#422)
bounceme May 7, 2016
aa9a46a
for better switch handling (#424)
bounceme May 8, 2016
b3ebfa5
c style opening curly braces (#426)
bounceme May 9, 2016
7137e7e
Prevent limited lookbehinds in older vers of vim
amadeus May 3, 2016
bf45f9c
Merge pull request #417 from amadeus/fix-lookbehind-limiting
amadeus May 9, 2016
61b8984
specify template as a string
bounceme May 9, 2016
a6e90ba
minor changes (#429)
bounceme May 10, 2016
206b85c
literal indentation in a multiline string (#430)
bounceme May 11, 2016
dc11766
last actual column (#431)
bounceme May 12, 2016
fd98935
more fixes (#432)
bounceme May 12, 2016
75fcd09
must actually return a number
bounceme May 12, 2016
7c7add5
my mistake
bounceme May 12, 2016
3ebaef3
slight changes continuing from before
bounceme May 12, 2016
04e412b
removing some clutter (#434)
bounceme May 13, 2016
2c70878
random fixes and improvements (#435)
bounceme May 18, 2016
bf34e60
Forcing `class` text to be a keyword
amadeus May 18, 2016
2767155
Merge pull request #436 from amadeus/fix-class-definitions
amadeus May 18, 2016
77387ef
Update javascript.vim (#437)
bounceme May 21, 2016
c180b0c
little bug affecting previous few commits
bounceme May 22, 2016
c5fba22
wrapping comments improved (#440)
bounceme May 24, 2016
fe096c0
another edge side effect (#443)
bounceme May 25, 2016
d54b138
a comma should be considered an operator
bounceme May 26, 2016
b5de6ec
Update javascript.vim
bounceme May 26, 2016
8c56957
Merge pull request #445 from pangloss/bounceme-patch-1
amadeus May 26, 2016
fcec8b7
Shebang doesn't have to contain env
dNitro May 26, 2016
5b143bd
change the regex engine according to warning (#449)
bounceme May 26, 2016
f39eb1f
Merge pull request #448 from dNItro/patch-1
amadeus May 27, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,18 +102,6 @@ proposed change and how it is valuable.
Report a bug on [GitHub Issues](https://github.com/pangloss/vim-javascript/issues).


## A Quick Note on Regexes

Vim 7.4 with patches LESS than 1-7 exhibits a bug that broke how we handle
javascript regexes. Please update to a newer version or run the following
commands to fix:

```
:set regexpengine=1
:syntax enable
```


## License

Distributed under the same terms as Vim itself. See `:help license`.
2 changes: 1 addition & 1 deletion ftdetect/javascript.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ au BufNewFile,BufRead *.jsm setf javascript
au BufNewFile,BufRead Jakefile setf javascript

fun! s:SelectJavascript()
if getline(1) =~# '^#!.*/bin/env\s\+node\>'
if getline(1) =~# '^#!.*/bin/\%(env\s\+\)\?node\>'
set ft=javascript
endif
endfun
Expand Down
3 changes: 3 additions & 0 deletions ftplugin/javascript.vim
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
setlocal suffixesadd+=.js
if (v:version < 704 || (v:version == 704 && !has('patch002'))) && exists('&regexpengine')
set re=1
end
Loading