Skip to content

remove Either, Left, and Right from syntax files #11822

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 27, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
<keyword>f64</keyword>
<keyword>char</keyword>
<keyword>str</keyword>
<keyword>Either</keyword>
<keyword>Option</keyword>
<keyword>Result</keyword>
</context>
Expand Down Expand Up @@ -134,8 +133,6 @@
<keyword>false</keyword>
<keyword>Some</keyword>
<keyword>None</keyword>
<keyword>Left</keyword>
<keyword>Right</keyword>
<keyword>Ok</keyword>
<keyword>Err</keyword>
<keyword>Success</keyword>
Expand Down
3 changes: 0 additions & 3 deletions src/etc/kate/rust.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
<item> float </item>
<item> char </item>
<item> str </item>
<item> Either </item>
<item> Option </item>
<item> Result </item>
<item> Self </item>
Expand Down Expand Up @@ -131,8 +130,6 @@
<item> false </item>
<item> Some </item>
<item> None </item>
<item> Left </item>
<item> Right </item>
<item> Ok </item>
<item> Err </item>
<item> Success </item>
Expand Down
3 changes: 0 additions & 3 deletions src/etc/vim/syntax/rust.vim
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ syn keyword rustType f64 i8 i16 i32 i64 str Self
" to make it easy to update.

" Core operators {{{3
syn keyword rustEnum Either
syn keyword rustEnumVariant Left Right
syn keyword rustTrait Sized
syn keyword rustTrait Freeze Send
syn keyword rustTrait Add Sub Mul Div Rem Neg Not
Expand Down Expand Up @@ -113,7 +111,6 @@ syn keyword rustSelf self
syn keyword rustBoolean true false

syn keyword rustConstant Some None " option
syn keyword rustConstant Left Right " either
syn keyword rustConstant Ok Err " result
syn keyword rustConstant Less Equal Greater " Ordering

Expand Down