Skip to content

Commit a08e6cc

Browse files
committed
Merge remote-tracking branch 'source/master' into develop
2 parents a957e1e + 7e28dbd commit a08e6cc

2 files changed

Lines changed: 22 additions & 5 deletions

File tree

README.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,27 @@
22

33
JavaScript bundle for vim, this bundle provides syntax and indent plugins.
44

5+
## A Quick Note on Regexes
6+
7+
Vim 7.4 was released recently, and unfortunately broke how this plugin
8+
handles regexes. There was no real easy way for us to fix this unless we
9+
completely rewrote how regexes work.
10+
11+
Good News: There was a recent update to Vim 7.4 that fixes this issue.
12+
13+
Make sure you are at least using Vim 7.4, with patches 1-7.
14+
15+
If you are stuck on an older version of Vim 7.4 with no way to update,
16+
then simply perform the following commands to fix your current buffer:
17+
18+
```
19+
:set regexpengine=1
20+
:syntax enable
21+
```
22+
523
## Installation
624

7-
- Install with [Vundle](https://github.com/gmarik/vundle)
25+
### Install with [Vundle](https://github.com/gmarik/vundle)
826

927
Add to vimrc:
1028

@@ -15,10 +33,10 @@ And install it:
1533
:so ~/.vimrc
1634
:BundleInstall
1735

18-
- Install with [pathogen](https://github.com/tpope/vim-pathogen)
36+
### Install with [pathogen](https://github.com/tpope/vim-pathogen)
1937

20-
cd ~/.vim/bundle
21-
git clone https://github.com/pangloss/vim-javascript.git
38+
cd ~/.vim/bundle
39+
git clone https://github.com/pangloss/vim-javascript.git
2240

2341
## Configuration
2442

ftdetect/javascript.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
au BufNewFile,BufRead *.js setf javascript
22
au BufNewFile,BufRead *.jsm setf javascript
3-
au BufNewFile,BufRead *.json setf javascript
43
au BufNewFile,BufRead Jakefile setf javascript
54

65
fun! s:SelectJavascript()

0 commit comments

Comments
 (0)