Skip to content

Commit ec2b899

Browse files
lencionisds
authored andcommitted
Add .projections.json configuration file
Editor plugins, like @tpope's vim-projectionist, can make use of this configuration file to enable easy jumping between "alternate" files, among other features. For example, with this configuration and vim-projectionist installed, you can now be editing a lint and execute `:A` to jump to that lint's spec file. This will save some time when working with this project. https://github.com/tpope/vim-projectionist Change-Id: Ic7f96d5eb4398c0ee011929bce640a195ee204d3 Reviewed-on: http://gerrit.causes.com/45430 Tested-by: jenkins <[email protected]> Reviewed-by: Shane da Silva <[email protected]>
1 parent 02859a2 commit ec2b899

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.projections.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"lib/scss_lint/*.rb": {
3+
"alternate": "spec/scss_lint/{}_spec.rb",
4+
"type": "source"
5+
},
6+
"spec/scss_lint/*_spec.rb": {
7+
"alternate": "lib/scss_lint/{}.rb",
8+
"type": "test"
9+
}
10+
}

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
* Fix regression in rake task
66
* Fix grammar of lints reported by `SelectorFormat`
7+
* Add .projections.json configuration file
78

89
## 0.31.0
910

0 commit comments

Comments
 (0)