Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bundles for better javascript highlighting and tag highlighting

  • Loading branch information...
commit 485c7f18006f13f2c1f831d727855051ca0a5722 1 parent 630063e
@skwp authored
View
10 .gitmodules
@@ -362,3 +362,13 @@
path = vim/bundle/tpope-vim-ragtag
url = https://github.com/tpope/vim-ragtag
ignore = dirty
+[submodule "vim/bundle/vim-scripts-TagHighlight"]
+ path = vim/bundle/vim-scripts-TagHighlight
+ url = https://github.com/vim-scripts/TagHighlight.git
+ ignore = dirty
+[submodule "vim/bundle/jelera-vim-javascript-syntax"]
+ path = vim/bundle/jelera-vim-javascript-syntax
+ url = https://github.com/jelera/vim-javascript-syntax.git
+[submodule "vim/bundle/itspriddle-vim-jquery"]
+ path = vim/bundle/itspriddle-vim-jquery
+ url = https://github.com/itspriddle/vim-jquery.git
1  vim/bundle/itspriddle-vim-jquery
@@ -0,0 +1 @@
+Subproject commit 61890d8e5ba8a873526fb91c6484aa445cc20b56
1  vim/bundle/vim-scripts-TagHighlight
@@ -0,0 +1 @@
+Subproject commit 9ee760281ab6e8443ea9bb9ae484b0233b3f0e29
View
1  vim/plugin/settings/jquery.vim
@@ -0,0 +1 @@
+autocmd BufRead,BufNewFile *.js set ft=javascript syntax=jquery
View
17 vim/plugin/settings/solarized.vim
@@ -16,5 +16,22 @@ hi! link rubyRailsARValidationMethod Title
hi! link rubyRailsMethod Title
hi! link MatchParen DiffText
+hi! link CTagsModule Type
+hi! link CTagsClass Type
+hi! link CTagsMethod Identifier
+
+hi! link javascriptFuncName Type
+hi! link javascriptFunction Statement
+hi! link javascriptThis Statement
+hi! link javascriptParens Normal
+hi! link jOperators javascriptStringD
+hi! link jId Title
+hi! link jClass Title
+
+" Brighten the regular text
+hi! Normal guifg=#93a1a1
+hi! Constant guifg=#00ADCE
+hi! link htmlLink Include
+
" Enforce the colors set here
au VimEnter * so ~/.vim/plugin/settings/solarized.vim
View
4 vim/plugin/settings/yadr-keymap.vim
@@ -112,7 +112,9 @@ nnoremap <silent> <D-k> {
autocmd FileType ruby map <buffer> <D-j> ]m
autocmd FileType ruby map <buffer> <D-k> [m
autocmd FileType rspec map <buffer> <D-j> }
-autocmd FileType rspec map <buffer> <D-k> {
+autocmd FileType rspec map <buffer> <D-j> }
+autocmd FileType javascript map <buffer> <D-k> {
+autocmd FileType javascript map <buffer> <D-k> {
" Command-/ to toggle comments
Please sign in to comment.
Something went wrong with that request. Please try again.