nvim integration script: use of extensions and assumptions
Author: strega-nilCreated Sep 23, 2026Updated Sep 23, 2026
When running utils/nvim/setup.sh on macOS, one gets the following error:
+ ln -sTf /Users/streganil/projects/fun/carbon-lang/utils/tree_sitter/queries /Users/streganil/.config/nvim/queries/carbon
ln: illegal option -- T
usage: ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file [target_file]
ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file ... target_dirAdditionally, the script assumes that the script is run from the root of the repository, which is not super great...
Source: carbon-language/carbon-lang