Added Specky for rspec highlighting outside spec/
If you have rspecs anywhere else (say fast_spec/), the default rails.vim highlighting doesn't affect them. Added Specky to do this. Specky is not currently enabled in any other way (we will still use ruby-vim-conque to run tests, but Specky will do highlighting/file detection).
This commit is contained in:
4
.gitmodules
vendored
4
.gitmodules
vendored
@@ -298,3 +298,7 @@
|
||||
path = vim/bundle/timcharper-textile
|
||||
url = https://github.com/timcharper/textile.vim.git
|
||||
ignore = dirty
|
||||
[submodule "vim/bundle/vim-scripts-Specky"]
|
||||
path = vim/bundle/vim-scripts-Specky
|
||||
url = https://github.com/vim-scripts/Specky.git
|
||||
ignore = dirty
|
||||
|
||||
@@ -443,6 +443,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
|
||||
* vim-indent-guides - visual indent guides, off by default
|
||||
* color_highlight - use :ColorCodes to see hex colors highlighted
|
||||
* change-inside-surroundings - change content inside delimiters like quotes/brackets
|
||||
* Specky - used for color highlighting rspec correctly even if specs live outside of spec/ (rails.vim doesn't handle this)
|
||||
|
||||
#### General enhancements that don't add new commands
|
||||
|
||||
|
||||
1
vim/bundle/vim-scripts-Specky
Submodule
1
vim/bundle/vim-scripts-Specky
Submodule
Submodule vim/bundle/vim-scripts-Specky added at b6415ac2ca
@@ -1,3 +1,15 @@
|
||||
hi! link txtBold Identifier
|
||||
hi! link zshVariableDef Identifier
|
||||
hi! link zshFunction Function
|
||||
hi! link rubyControl Statement
|
||||
hi! link rspecGroupMethods rubyControl
|
||||
hi! link rspecMocks Identifier
|
||||
hi! link rspecKeywords Identifier
|
||||
hi! link rubyLocalVariableOrMethod Normal
|
||||
hi! link rubyStringDelimiter Constant
|
||||
hi! link rubyString Constant
|
||||
hi! link rubyAccess Todo
|
||||
hi! link rubySymbol Identifier
|
||||
|
||||
" Enforce the colors set here
|
||||
au VimEnter * so ~/.vim/plugin/settings/solarized.vim
|
||||
|
||||
Reference in New Issue
Block a user