Skip to content

Commit d28b72d

Browse files
committed
Adds new maintainer info. Removes trailing whitespace
1 parent ba4f292 commit d28b72d

3 files changed

Lines changed: 5 additions & 21 deletions

File tree

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,6 @@ JavaScript bundle for vim, this bundle provides syntax and indent plugins.
44

55
> Indentation of javascript in vim is terrible, and this is the very end of it.
66
7-
## Maintainer(s) wanted
8-
9-
This project does not get too much love because, frankly I don't use JS all that
10-
much anymore. This project's maintenance isn't much work, but it would be helpful to
11-
everyone if one or two people would evaluate pull requests and merge them if they're
12-
good. There are also a couple of valid issues that have been filed that would make
13-
lots of people happy if they were addressed. Plus it might be good if someone updated
14-
the script on vim.org occasionally. By the way, I'd be happy to put more effort into
15-
helping a new maintainer get going than what I put in actually maintaining the project
16-
myself. If you're interested, please comment on issue [#65](https://github.com/pangloss/vim-javascript/issues/65).
17-
18-
Cheers!
19-
Darrick
20-
217
## Features
228

239
1. very correct indentation for javascript

indent/javascript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function s:GetMSL(lnum, in_one_line_scope)
116116
" Don't use lines that are part of a one line scope as msl unless the
117117
" flag in_one_line_scope is set to 1
118118
"
119-
if a:in_one_line_scope
119+
if a:in_one_line_scope
120120
break
121121
end
122122
let msl_one_line = s:Match(lnum, s:one_line_scope_regex)

syntax/javascript.vim

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
" Vim syntax file
22
" Language: JavaScript
3-
" Maintainer: Yi Zhao (ZHAOYI) <zzlinux AT hotmail DOT com>
4-
" Last Change By: Marc Harter
5-
" Last Change: February 18, 2011
3+
" Maintainer: Josh Perez <josh at goatslacker.com>
64
" Version: 0.7.9
7-
" Changes: Updates JSDoc syntax
5+
" URL: https://github.com/pangloss/vim-javascript
86
"
97
" TODO:
108
" - Add the HTML syntax inside the JSDoc
@@ -85,7 +83,7 @@ syntax keyword javaScriptPrototype prototype
8583

8684
"" Program Keywords
8785
syntax keyword javaScriptSource import export
88-
syntax keyword javaScriptType const undefined var void yield
86+
syntax keyword javaScriptType const undefined var void yield
8987
syntax keyword javaScriptOperator delete new in instanceof let typeof
9088
syntax keyword javaScriptBoolean true false
9189
syntax keyword javaScriptNull null
@@ -158,7 +156,7 @@ syntax cluster javaScriptExpression2 contains=javaScriptComment,javaScriptLineCo
158156
syntax cluster javaScriptAll contains=@javaScriptExpression2,javaScriptLabel,javaScriptConditional,javaScriptRepeat,javaScriptBranch,javaScriptStatement,javaScriptTernaryIf
159157
syntax region javaScriptBracket matchgroup=javaScriptBracket transparent start="\[" end="\]" contains=@javaScriptAll,javaScriptParensErrB,javaScriptParensErrC,javaScriptBracket,javaScriptParen,javaScriptBlock,@htmlPreproc
160158
syntax region javaScriptParen matchgroup=javaScriptParen transparent start="(" end=")" contains=@javaScriptAll,javaScriptParensErrA,javaScriptParensErrC,javaScriptParen,javaScriptBracket,javaScriptBlock,@htmlPreproc
161-
syntax region javaScriptBlock matchgroup=javaScriptBlock transparent start="{" end="}" contains=@javaScriptAll,javaScriptParensErrA,javaScriptParensErrB,javaScriptParen,javaScriptBracket,javaScriptBlock,@htmlPreproc
159+
syntax region javaScriptBlock matchgroup=javaScriptBlock transparent start="{" end="}" contains=@javaScriptAll,javaScriptParensErrA,javaScriptParensErrB,javaScriptParen,javaScriptBracket,javaScriptBlock,@htmlPreproc
162160
syntax region javaScriptTernaryIf matchgroup=javaScriptTernaryIfOperator start=+?+ end=+:+ contains=@javaScriptExpression2
163161

164162
"" catch errors caused by wrong parenthesis

0 commit comments

Comments
 (0)