initial nix language support#1911
Draft
fidgetingbits wants to merge 20 commits intocursorless-dev:mainfrom
Draft
initial nix language support#1911fidgetingbits wants to merge 20 commits intocursorless-dev:mainfrom
fidgetingbits wants to merge 20 commits intocursorless-dev:mainfrom
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EDIT: I removed the original PR text, as no longer relevant and will have made it harder to review.
This PR adds nix language support.
Checklist
"change"/"clear"instead of"take"for selection tests to make recorded tests easier to read"chuck"instead of"change"to test removal behaviour when it's interesting, especially:"chuck arg"with single argument in list"chuck arg"with multiple arguments in list"chuck item"with single argument in list"chuck item"with multiple arguments in list@textFragmentcaptures. Usually you want to put these on comment and string nodes. This enables"take round"to work within comments and strings."change round"inside a string, eg"hello (there)""type"both for type annotations (egfoo: string) and declarations (eginterface Foo {}) (and added tests for this behaviour 😊)"item"both for map pairs and list entries (with tests of course)list@listinside list@list.interiormap@mapinside map@map.interiorkey@collectionKeyfunk@namedFunctioninside funk@namedFunction.interiorfunk name@functionNamelambda@anonymousFunctioninside lambda@anonymousFunction.interiorname@namevalue@valuevalue@valuevalue@valuestate@statementif state@ifStatementcondition@conditioncondition@conditioncondition@conditioncondition@conditioncondition@conditionbranch@branchinside branch@branch.interiorcomment@commentcomment@commentstring@stringstring@string@textFragmentcall@functionCallcallee@functionCalleearg@argumentOrParameterarg@argumentOrParameterarg@argumentOrParameterclass@classinside class@class.interiorclass name@classNametype@typeChecklist