We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6038601 commit 2e5ed9aCopy full SHA for 2e5ed9a
syntax/ruby.vim
@@ -197,7 +197,7 @@ syn match rubyControl "\<\%(and\|break\|in\|next\|not\|or\|redo\|rescue
197
syn match rubyOperator "\<defined?" display
198
syn match rubyKeyword "\<\%(super\|yield\)\>[?!]\@!"
199
syn match rubyBoolean "\<\%(true\|false\)\>[?!]\@!"
200
-syn match rubyPseudoVariable "\<\%(nil\|self\|__ENCODING__\|__FILE__\|__LINE__\|__callee__\|__method__\)\>[?!]\@!" " TODO: reorganise
+syn match rubyPseudoVariable "\<\%(nil\|self\|__ENCODING__\|__dir__\|__FILE__\|__LINE__\|__callee__\|__method__\)\>[?!]\@!" " TODO: reorganise
201
syn match rubyBeginEnd "\<\%(BEGIN\|END\)\>[?!]\@!"
202
203
" Expensive Mode - match 'end' with the appropriate opening keyword for syntax
0 commit comments