We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i'm trying to convert the following code from config.cson to .proton:
config.cson
.proton
".js.source": editor: tabLength: 2
i tried to simply do
[".js.source.editor.tabLength" 2]
but proton uses . to split the key it seems, so it becomes
.
"" js: source: editor: tabLength: 2
any ideas what to do here? is there perhaps a way to escape the . ?
The text was updated successfully, but these errors were encountered:
I have this in my ~/.proton
~/.proton
["editor.tabLength" 2 {:scopeSelector [".source.ruby" ".source.coffee" ".text.tex" ".source.cpp", ".text.html"]}]
which ends up like this in my ~/.atom/config.cson
~/.atom/config.cson
".coffee.source": editor: tabLength: 2 ".cpp.source": editor: tabLength: 2 ".html.text": editor: tabLength: 2 ".ruby.source": editor: tabLength: 2 ".tex.text": editor: tabLength: 2
Sorry, something went wrong.
docs here: https://github.com/dvcrn/proton/blob/4e84a9c6b172928985b0f9b32aa15bd3e6a21c5c/MANUAL.md#syntax-specific-configuration
thank you, it works well. i have to specify it twice, like this: (i want it to default to 4, and be 2 for javascript)
["editor.tabLength" "4"] ["editor.tabLength" "2" {:scopeSelector [".js.source"]}]
i was not sure if it will work, but it worked fine. maybe the manual could also have an example where it is used multiple times?
No branches or pull requests
i'm trying to convert the following code from
config.cson
to.proton
:i tried to simply do
but proton uses
.
to split the key it seems, so it becomesany ideas what to do here? is there perhaps a way to escape the
.
?The text was updated successfully, but these errors were encountered: