diff --git a/docs/code_actions.md b/docs/code_actions.md index 3e4d65c..1f77517 100644 --- a/docs/code_actions.md +++ b/docs/code_actions.md @@ -167,3 +167,14 @@ https://nixos.org ```nix "https://nixos.org" ``` + +### `inline` + +Rewrite a binding to its definition. +```nix +let id = x: x; in a 1 +``` +=> +```nix +let id = x: x; in (x: x) 1 +```