Bundles for better javascript highlighting and tag highlighting
This commit is contained in:
10
.gitmodules
vendored
10
.gitmodules
vendored
@@ -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
Submodule
1
vim/bundle/itspriddle-vim-jquery
Submodule
Submodule vim/bundle/itspriddle-vim-jquery added at 61890d8e5b
1
vim/bundle/vim-scripts-TagHighlight
Submodule
1
vim/bundle/vim-scripts-TagHighlight
Submodule
Submodule vim/bundle/vim-scripts-TagHighlight added at 9ee760281a
1
vim/plugin/settings/jquery.vim
Normal file
1
vim/plugin/settings/jquery.vim
Normal file
@@ -0,0 +1 @@
|
||||
autocmd BufRead,BufNewFile *.js set ft=javascript syntax=jquery
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user