Skip to content

Commit ae4db1b

Browse files
authored
Improve language since autochdir is a rooter
1 parent 545e8f0 commit ae4db1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/recipes/rooter.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ A rooter automatically changes Neovim's working directory based on the context o
6262
- Moving between files in different parts of a project changes your context unpredictably
6363
- Running commands against your project requires manually changing directories
6464

65-
## Rooter vs. autochdir
65+
## AstroRoot vs. `autochdir`
6666

6767
Neovim has a built-in autochdir option that automatically changes the working directory to match the current file's directory. However, this is rarely ideal for project work, since `autochdir` always sets the directory to the file's immediate parent directory. This feature aims to intelligently find the project root, which can be several levels up from individual files by applying more rules for detecting the root of the project.
6868

0 commit comments

Comments
 (0)