rust/src/etc
Chris Denton 8955c6c6ee
Rollup merge of #139843 - thaliaarchi:editor-file-associations, r=Mark-Simulacrum
Setup editor file associations for non-rs extensions

.gitattributes lists `*.fixed`, `*.pp`, and `*.mir` as file extensions which should be treated as Rust source code. Do the same for VS Code and Zed. This only does syntax highlighting, which is appropriate, as MIR isn't really Rust code.

At the same time, consistently order `rust-analyzer.linkedProjects` between editors. For some reason, Eglot didn't include `library/Cargo.toml`.

I have tested this with VS Code and Zed. I have not implemented it for Emacs/Eglot or Helix.
2025-04-19 19:30:47 +00:00
..
completions update completion files 2025-03-20 14:03:40 +03:00
installer wix: allow to skip more components 2025-03-17 19:30:09 +08:00
natvis Update libcore.natvis for Pin. 2025-04-17 21:16:58 +02:00
test-float-parse Rollup merge of #139214 - bjorn3:edition_2024_rustfmt, r=compiler-errors 2025-04-02 13:10:42 +11:00
third-party Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
cat-and-grep.sh remove dead code in CGREP script 2024-10-27 21:23:28 -04:00
CONFIGS.md Add sublime-rust to CONFIGS.md. 2016-08-22 01:24:01 -04:00
cpu-usage-over-time-plot.sh Fix a bunch of typo 2022-08-31 18:24:55 +08:00
ctags.rust Update the ctags rules and targets. 2015-07-30 06:35:42 +10:00
dec2flt_table.py core: add #![warn(unreachable_pub)] 2025-01-20 18:35:32 +01:00
gdb_load_rust_pretty_printers.py Reformat Python code with ruff 2024-12-04 23:03:44 +01:00
gdb_lookup.py Reformat Python code with ruff 2024-12-04 23:03:44 +01:00
gdb_providers.py change lookup from OsString.inner.inner.0 -> OsString.inner.inner.bytes 2025-01-21 03:23:01 -06:00
generate-deriving-span-tests.py Reformat Python code with ruff 2024-12-04 23:03:44 +01:00
generate-keyword-tests.py Reformat Python code with ruff 2024-12-04 23:03:44 +01:00
htmldocck.py htmldocck: catch and error on deprecated syntax 2025-03-01 10:31:46 +00:00
indenter fix some python3 incompatibilities 2017-11-16 13:34:13 -05:00
lldb_batchmode.py fix: properly escape regexes 2025-03-04 05:22:26 +08:00
lldb_commands fix string and tuple struct formatting 2025-02-12 01:30:09 -06:00
lldb_lookup.py use python built in type annotations 2024-12-31 00:53:59 -06:00
lldb_providers.py fix string and tuple struct formatting 2025-02-12 01:30:09 -06:00
pre-push.sh Skip tidy in pre-push hook if the user is deleting a remote branch 2025-02-25 13:48:31 +00:00
rust-gdb Typo fix in src/etc/rust-gdb 2023-04-14 19:07:13 -07:00
rust-gdbgui rust-gdbgui: remove excessive quotes 2023-08-22 09:09:00 -04:00
rust-lldb Fix loading pretty-printers in rust-lldb script 2020-08-28 09:29:45 +03:00
rust-windbg.cmd Remove licenses 2018-12-25 21:08:33 -07:00
rust_analyzer_eglot.el Setup editor file associations for non-rs extensions 2025-04-14 23:16:11 -07:00
rust_analyzer_helix.toml Remove separate src/tools/x from rust-analyzer settings 2025-03-13 12:21:21 -07:00
rust_analyzer_settings.json Setup editor file associations for non-rs extensions 2025-04-14 23:16:11 -07:00
rust_analyzer_zed.json Setup editor file associations for non-rs extensions 2025-04-14 23:16:11 -07:00
rust_types.py use python built in type annotations 2024-12-31 00:53:59 -06:00