Title: Modeline not being set for ruby/eruby files · Issue #128 · vim-ruby/vim-ruby · GitHub
Open Graph Title: Modeline not being set for ruby/eruby files · Issue #128 · vim-ruby/vim-ruby
X Title: Modeline not being set for ruby/eruby files · Issue #128 · vim-ruby/vim-ruby
Description: When I create a random single .rb or .erb file, the filetype is recognized as ruby/eruby (which is set from ~/.vim/bundle/vim-ruby/ftdetect/ruby.vim), syntax, colors, highlighting, omnicompletion all function, but the modeline is not bei...
Open Graph Description: When I create a random single .rb or .erb file, the filetype is recognized as ruby/eruby (which is set from ~/.vim/bundle/vim-ruby/ftdetect/ruby.vim), syntax, colors, highlighting, omnicompletion a...
X Description: When I create a random single .rb or .erb file, the filetype is recognized as ruby/eruby (which is set from ~/.vim/bundle/vim-ruby/ftdetect/ruby.vim), syntax, colors, highlighting, omnicompletion a...
Opengraph URL: https://github.com/vim-ruby/vim-ruby/issues/128
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Modeline not being set for ruby/eruby files","articleBody":"When I create a random single .rb or .erb file, the filetype is recognized as ruby/eruby (which is set from ~/.vim/bundle/vim-ruby/ftdetect/ruby.vim), syntax, colors, highlighting, omnicompletion all function, but the modeline is not being set.\n\nThe following commands return these values:\n\n:verbose set modeline? #last set from ~/.vimrc\n:verbose set modelines? #returns modelines=5\n:verbose set sw sts ts expandtab? #shiftwidth=8 softtabstop=0 tabstop=8 noexpandtab\n\nI also have the vim-rails bundle installed in ~/.vim/bundle. The modeline works correctly for .rb and .erb files that are part of a rails project. Filetypes are determined and set by vim-ruby/ftdetect/ruby.vim, but\n\n:verbose set sw sts ts expandtab? #shiftwidth=2 softtabstop=2 tabstop=8 expandtab\n\nWith all of these values being set from vim-rails/autoload/rails.vim\n\nAny idea why the ruby.vim modeline is not being applied?\n","author":{"url":"https://github.com/raklet","@type":"Person","name":"raklet"},"datePublished":"2013-01-30T04:03:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/128/vim-ruby/issues/128"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e9e86dff-7abd-d427-50f0-ddf5ff6e90b3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F8A:1D7E:C0AF3D:1087C34:698DAF08 |
| html-safe-nonce | 015eb0ff1e6017a31d84e238e53bb9cd1b54c22c178debcc8deadfef8d35fe60 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjhBOjFEN0U6QzBBRjNEOjEwODdDMzQ6Njk4REFGMDgiLCJ2aXNpdG9yX2lkIjoiMjYyOTc5ODczNjEyNTg2NTczNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b8847015fac473870d27943d6875244b6320807db63a76d51f8735a4616a7ba4 |
| hovercard-subject-tag | issue:10445381 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/vim-ruby/vim-ruby/128/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c6024e7bcd5783fec0f1641f60773d807a8165e6818a4277b4f1a466345353d/vim-ruby/vim-ruby/issues/128 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c6024e7bcd5783fec0f1641f60773d807a8165e6818a4277b4f1a466345353d/vim-ruby/vim-ruby/issues/128 |
| og:image:alt | When I create a random single .rb or .erb file, the filetype is recognized as ruby/eruby (which is set from ~/.vim/bundle/vim-ruby/ftdetect/ruby.vim), syntax, colors, highlighting, omnicompletion a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | raklet |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c7947c0c592efeab6162b9909ad11fa43bff8b0cb5ff43273dc25e41979d43e |
| turbo-cache-control | no-preview |
| go-import | github.com/vim-ruby/vim-ruby git https://github.com/vim-ruby/vim-ruby.git |
| octolytics-dimension-user_id | 17170 |
| octolytics-dimension-user_login | vim-ruby |
| octolytics-dimension-repository_id | 34465 |
| octolytics-dimension-repository_nwo | vim-ruby/vim-ruby |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 34465 |
| octolytics-dimension-repository_network_root_nwo | vim-ruby/vim-ruby |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b22a9fbf4dea601ec149a9e5362e0558df79b505 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width