René's URL Explorer Experiment


Title: Question: basic ruby indentation · Issue #234 · vim-ruby/vim-ruby · GitHub

Open Graph Title: Question: basic ruby indentation · Issue #234 · vim-ruby/vim-ruby

X Title: Question: basic ruby indentation · Issue #234 · vim-ruby/vim-ruby

Description: Hi guys, I have recently set up this plugin and expected it to work out of the box, however not even the basic ruby indentation is working for me. I've pretty simple vimrc file: set nocompatible " turn vi into vim filetype off " required...

Open Graph Description: Hi guys, I have recently set up this plugin and expected it to work out of the box, however not even the basic ruby indentation is working for me. I've pretty simple vimrc file: set nocompatible " ...

X Description: Hi guys, I have recently set up this plugin and expected it to work out of the box, however not even the basic ruby indentation is working for me. I've pretty simple vimrc file: set nocompatibl...

Opengraph URL: https://github.com/vim-ruby/vim-ruby/issues/234

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Question: basic ruby indentation","articleBody":"Hi guys,\n\nI have recently set up this plugin and expected it to work out of the box, however not even the basic ruby indentation is working for me. I've pretty simple vimrc file:\n\n```\nset nocompatible           \" turn vi into vim\nfiletype off               \" required by vundle\n\" VUNDLE SETUP\n\" set the runtime path to include Vundle and initialize\nset rtp+=~/.vim/bundle/Vundle.vim\ncall vundle#begin()          \" required\n\" let Vundle manage Vundle, required\nPlugin 'gmarik/Vundle.vim'\n\n\" Track the engine.\nPlugin 'SirVer/ultisnips'\n\" \" Snippets are separated from the engine. Add this if you want them:\nPlugin 'honza/vim-snippets'\n\n\" go-vim plugin by fatih\nPlugin 'fatih/vim-go'\n\n\" vim-ruby plugin for ruby shit\nPlugin 'vim-ruby/vim-ruby'\n\n\" vim-fugitive plugin for git\nPlugin 'tpope/vim-fugitive'\n\n\" enabled vim-neatstatus line\nPlugin 'maciakl/vim-neatstatus'\n\ncall vundle#end()            \" required\n\nsyntax on        \" Always turn the syntax on\nfiletype plugin indent on    \" enable file detection\nset expandtab    \" Turn tab into spaces\nset number       \" Turn on numbering of lines\nset showmatch    \" Show matching brackets.\nset matchtime=5  \" Bracket blinking.\nset noshowmode   \" Shows vim mode\n\n\" set status line\nset laststatus=2 \" Always show status line.\n\n\" Match and search\nset hlsearch    \" highlight search\nset ignorecase  \" Do case in sensitive matching with\nset smartcase   \" be sensitive when there's a capital letter\nset incsearch   \" Search incrementally\n\n\" color scheme\nset background=dark\ncolorscheme molokai\nset t_Co=256\n\nlet mapleader = \",\"\nlet g:mapleader = \",\"\n\n\" remap hjkl\nnoremap ' l\nnoremap ; k\nnoremap l j\nnoremap k h\nnnoremap . ;\n\n\" Fast saving\nnmap \u003cleader\u003ew :w!\u003ccr\u003e\n\" Fast quitting\nnmap \u003cleader\u003eq :q\u003ccr\u003e\n\" Fast save and quit\nnmap \u003cleader\u003eww :wq\u003ccr\u003e\n\n\" toggle the paste\nmap \u003cleader\u003ep :set paste!\u003cCR\u003e\n\" toggles search highlighting\nnmap \u003csilent\u003e \u003cleader\u003en :set hlsearch!\u003cCR\u003e\n\n\" Turn off auto-commenting\nau FileType * setlocal formatoptions-=cro\n\n\" Trigger configuration. Do not use \u003ctab\u003e if you use https://github.com/Valloric/YouCompleteMe.\nlet g:UltiSnipsExpandTrigger=\"\u003cc-k\u003e\"\nlet g:UltiSnipsJumpForwardTrigger=\"\u003cc-j\u003e\"\nlet g:UltiSnipsJumpBackwardTrigger=\"\u003cs-c-k\u003e\"\n```\n\nNothing crazy. However whenever editing ruby file, the indentation is 8 spaces.\n\nEven the simple if clause turns into this:\n\n```\nif foo == \"bar\"\n    puts \"foobar\"\nend\n```\n\nvim-ruby does a pretty awesome job detecting ruby files like Rakefile etc., but after spending several hours investigating indentation I gave up and open this issue.\n\nMy vim version:\n\n```\n$ vim --version\nVIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 22 2014 11:49:13)\nMacOS X (unix) version\nIncluded patches: 1-430\nCompiled by Homebrew\n```\n","author":{"url":"https://github.com/milosgajdos","@type":"Person","name":"milosgajdos"},"datePublished":"2014-10-22T11:16:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/234/vim-ruby/issues/234"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1bb44078-b7e6-91c9-b252-e8a578e74c13
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD58A:3F0CE6:49467:5F247:698D7BD0
html-safe-noncef4b10ee57619972f02ebf9dac782c730f9e068e9c824f9a1643ba5aaef121fd0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENThBOjNGMENFNjo0OTQ2Nzo1RjI0Nzo2OThEN0JEMCIsInZpc2l0b3JfaWQiOiIzNjc1OTU2NjY1MjQzMjM3MzI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6b38bc137e94aed64ebbfea2dcbd15b7e8692a0c3292f901b74ca252082c7fb4
hovercard-subject-tagissue:46498336
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/vim-ruby/vim-ruby/234/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e5d54dec7404efc26d09917d165a267c4f9ee65bb976bafec24d1acff877ce3c/vim-ruby/vim-ruby/issues/234
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e5d54dec7404efc26d09917d165a267c4f9ee65bb976bafec24d1acff877ce3c/vim-ruby/vim-ruby/issues/234
og:image:altHi guys, I have recently set up this plugin and expected it to work out of the box, however not even the basic ruby indentation is working for me. I've pretty simple vimrc file: set nocompatible " ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemilosgajdos
hostnamegithub.com
expected-hostnamegithub.com
Nonec0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a
turbo-cache-controlno-preview
go-importgithub.com/vim-ruby/vim-ruby git https://github.com/vim-ruby/vim-ruby.git
octolytics-dimension-user_id17170
octolytics-dimension-user_loginvim-ruby
octolytics-dimension-repository_id34465
octolytics-dimension-repository_nwovim-ruby/vim-ruby
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id34465
octolytics-dimension-repository_network_root_nwovim-ruby/vim-ruby
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release715890fa442134f528fb422ab338c0ad55c7a025
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/vim-ruby/vim-ruby/issues/234#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvim-ruby%2Fvim-ruby%2Fissues%2F234
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvim-ruby%2Fvim-ruby%2Fissues%2F234
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=vim-ruby%2Fvim-ruby
Reloadhttps://github.com/vim-ruby/vim-ruby/issues/234
Reloadhttps://github.com/vim-ruby/vim-ruby/issues/234
Reloadhttps://github.com/vim-ruby/vim-ruby/issues/234
vim-ruby https://github.com/vim-ruby
vim-rubyhttps://github.com/vim-ruby/vim-ruby
Notifications https://github.com/login?return_to=%2Fvim-ruby%2Fvim-ruby
Fork 292 https://github.com/login?return_to=%2Fvim-ruby%2Fvim-ruby
Star 2k https://github.com/login?return_to=%2Fvim-ruby%2Fvim-ruby
Code https://github.com/vim-ruby/vim-ruby
Issues 57 https://github.com/vim-ruby/vim-ruby/issues
Pull requests 6 https://github.com/vim-ruby/vim-ruby/pulls
Actions https://github.com/vim-ruby/vim-ruby/actions
Projects 0 https://github.com/vim-ruby/vim-ruby/projects
Wiki https://github.com/vim-ruby/vim-ruby/wiki
Security 0 https://github.com/vim-ruby/vim-ruby/security
Insights https://github.com/vim-ruby/vim-ruby/pulse
Code https://github.com/vim-ruby/vim-ruby
Issues https://github.com/vim-ruby/vim-ruby/issues
Pull requests https://github.com/vim-ruby/vim-ruby/pulls
Actions https://github.com/vim-ruby/vim-ruby/actions
Projects https://github.com/vim-ruby/vim-ruby/projects
Wiki https://github.com/vim-ruby/vim-ruby/wiki
Security https://github.com/vim-ruby/vim-ruby/security
Insights https://github.com/vim-ruby/vim-ruby/pulse
New issuehttps://github.com/login?return_to=https://github.com/vim-ruby/vim-ruby/issues/234
New issuehttps://github.com/login?return_to=https://github.com/vim-ruby/vim-ruby/issues/234
Question: basic ruby indentationhttps://github.com/vim-ruby/vim-ruby/issues/234#top
ftpluginhttps://github.com/vim-ruby/vim-ruby/issues?q=state%3Aopen%20label%3A%22ftplugin%22
https://github.com/milosgajdos
https://github.com/milosgajdos
milosgajdoshttps://github.com/milosgajdos
on Oct 22, 2014https://github.com/vim-ruby/vim-ruby/issues/234#issue-46498336
ftpluginhttps://github.com/vim-ruby/vim-ruby/issues?q=state%3Aopen%20label%3A%22ftplugin%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.