snippets: Disable `feature_paths` by default (#37565)

Marshall Bowers created

This PR updates the default configuration of the `snippets` extension to
disable suggesting paths (`feature_paths`).

If users want to enable it, it can be done via the settings:

```json
{
  "lsp": {
    "snippet-completion-server": {
      "settings": {
        "feature_paths": true
      }
    }
  }
}
```

Release Notes:

- N/A

Change summary

extensions/snippets/src/snippets.rs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Detailed changes

extensions/snippets/src/snippets.rs 🔗

@@ -120,7 +120,9 @@ impl zed::Extension for SnippetExtension {
                     "snippets_first": true,
                     "feature_words": false,
                     "feature_snippets": true,
-                    "feature_paths": true
+                    // We disable `feature_paths` by default, because it's bad UX to assume that any `/` that is typed
+                    // is the start of a path.
+                    "feature_paths": false
                 })
             });
         Ok(Some(settings))