From 497ee85e4b59720f16414b557a691581062dcedb Mon Sep 17 00:00:00 2001 From: Romain Bossart Date: Sun, 8 Sep 2013 11:12:28 +0200 Subject: [PATCH 1/3] Update README.markdown --- README.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.markdown b/README.markdown index b89a0d0..659ad08 100644 --- a/README.markdown +++ b/README.markdown @@ -18,6 +18,9 @@ To enable code folding add the following to your `.vimrc`. au FileType javascript call JavaScriptFold() +###Note +This is a syntax plugin, not an indentation one. For indentation, you need to add another plugin +(as mentioned [here](https://github.com/jelera/vim-javascript-syntax/issues/22#issuecomment-19917301)). ###TODO You can help me improve it too. From d68886a17bda84fc3ec4392e781fb5941a80943e Mon Sep 17 00:00:00 2001 From: Jose Elera Date: Mon, 16 Sep 2013 22:44:59 -0500 Subject: [PATCH 2/3] add recommended javascript indent file. --- README.markdown | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 659ad08..dd34ec3 100644 --- a/README.markdown +++ b/README.markdown @@ -19,8 +19,7 @@ To enable code folding add the following to your `.vimrc`. au FileType javascript call JavaScriptFold() ###Note -This is a syntax plugin, not an indentation one. For indentation, you need to add another plugin -(as mentioned [here](https://github.com/jelera/vim-javascript-syntax/issues/22#issuecomment-19917301)). +This is a syntax plugin, not an indentation one. For indentation, this is the [recommended one](https://github.com/vim-scripts/JavaScript-Indent) by Preston Koprivica. ###TODO You can help me improve it too. From 72f558edd5ca530f5935df8ec03df7b16234d16e Mon Sep 17 00:00:00 2001 From: Jose Elera Date: Tue, 17 Sep 2013 16:39:28 -0500 Subject: [PATCH 3/3] update the TODO section --- README.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index dd34ec3..410f667 100644 --- a/README.markdown +++ b/README.markdown @@ -24,9 +24,9 @@ This is a syntax plugin, not an indentation one. For indentation, this is the [r ###TODO You can help me improve it too. -- The separate highlight of the arguments -- I know this is a syntax file, but having an autocompletion file. -- Add keywords for the popular third-party libraries like jQuery, YUI, Prototype, etc. +- ~~The separate highlight of the arguments~~ Thanks to [Billychan](https://github.com/jelera/vim-javascript-syntax/commit/b03f40ff6ddf605ac146634a651632d6c1e8a50b) for this +- ~~I know this is a syntax file, but having an autocompletion file.~~ So far a better autocompletion can be achieved by [Tern for Vim](https://github.com/marijnh/tern_for_vim) +- ~~Add keywords for the popular third-party libraries like jQuery, YUI, Prototype, etc.~~ This can be done with [this repo](https://github.com/othree/javascript-libraries-syntax.vim) ###Screenshots This is the stock Javascript syntax file