Skip to content

Added src/etc/vim/ftdetect/rust.vim for vim filetype detection. #1599

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 21, 2012
Merged

Added src/etc/vim/ftdetect/rust.vim for vim filetype detection. #1599

merged 1 commit into from
Jan 21, 2012

Conversation

startling
Copy link
Contributor

Previously, in order to get vim's syntax highlighting, you needed to manually :setf rust on every file. Now vim will recognize *.rs files as rust. This is a little nicer.

Previously, in order to get vim's syntax highlighting,  you needed
to manually `:setf rust` on every file. Now vim will recognize *.rs
files as rust. This is a little nicer.
brson added a commit that referenced this pull request Jan 21, 2012
Added `src/etc/vim/ftdetect/rust.vim` for vim filetype detection.
@brson brson merged commit 3a2d52f into rust-lang:master Jan 21, 2012
@brson
Copy link
Contributor

brson commented Jan 21, 2012

Thanks!

@brson
Copy link
Contributor

brson commented Jan 21, 2012

Thanks! Can you give me your last name so I can add you to our AUTHORS.txt file?

@startling
Copy link
Contributor Author

I don't really like going by my given name on the internet. Could you just have 'startling'? If you really must, I'm "tim dixon".

Alternatively, you could leave me off entirely; it's a one-line file I added because I was annoyed with my text editor, not a big deal.

@brson
Copy link
Contributor

brson commented Jan 22, 2012

We can just do 'startling'. I'll leave off your email as well.

@startling
Copy link
Contributor Author

It's cool to leave my email in there; it's in all of my commit messages anyway. Thanks for understanding!

celinval added a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
Kobzol pushed a commit to Kobzol/rust that referenced this pull request Dec 30, 2024
bors pushed a commit to rust-lang-ci/rust that referenced this pull request Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants