Skip to content

Any tips for tracking settings.json in version control? #3721

Answered by Andriamanitra
sbirch-fl asked this question in Q&A
Discussion options

You must be logged in to vote

Maybe you are using a version of micro before #3009? (as of writing the fix hasn't made it to a tagged version yet so you'll need to use the nightly release or build from source nvm, it's in 2.0.14)

In versions after #3009 you can mostly avoid micro editing settings.json by not using plugins that automatically change the settings and avoiding the set command (use setlocal instead for temporary settings). Same goes for bindings.json – avoid plugins that set their bindings programmatically and favor editing bindings.json manually instead of using bind command. Besides that my strategy has been to frequently commit (or discard) the changes to keep it up to date.

If you want to be absolutely …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sbirch-fl
Comment options

Answer selected by sbirch-fl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants