{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6524","repository_url":"https://api.github.com/repos/syl20bnr/spacemacs","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6524/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6524/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6524/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/6524","id":164225450,"number":6524,"title":"Add support for vim magic filetype strings","user":{"login":"a13ph","id":577817,"avatar_url":"https://avatars.githubusercontent.com/u/577817?v=3","gravatar_id":"","url":"https://api.github.com/users/a13ph","html_url":"https://github.com/a13ph","followers_url":"https://api.github.com/users/a13ph/followers","following_url":"https://api.github.com/users/a13ph/following{/other_user}","gists_url":"https://api.github.com/users/a13ph/gists{/gist_id}","starred_url":"https://api.github.com/users/a13ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a13ph/subscriptions","organizations_url":"https://api.github.com/users/a13ph/orgs","repos_url":"https://api.github.com/users/a13ph/repos","events_url":"https://api.github.com/users/a13ph/events{/privacy}","received_events_url":"https://api.github.com/users/a13ph/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/-%20Forum%20-","name":"- Forum -","color":"fef2c0"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Feature%20request","name":"Feature request","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-07T04:04:07Z","updated_at":"2016-07-07T17:53:02Z","closed_at":null,"body":"- [x] Why!\r\n- Helping Vim users to migrate easier\r\n  - Since they may have used magic strings in their files\r\n- Just plain simple for compatibility/parity with Vim features\r\n  - Will help to deal with vim magic strings in projects and teams\r\n   - One step closer to making #5427 done by virtue of \"just working\" for more vim features :smile:\r\n\r\n- [x] How!\r\n [`magic-filetype.el`](https://github.com/zonuexe/magic-filetype.el) + `(setq-default magic-filetype-enable-vim-filetype t)`\r\n\r\n- [ ] Where?\r\nSomewhere in the `/+distributions/` or smth like that...\r\nIt should go closer to spacemacs core and not as a layer, I believe\r\nIt's small and expected to work out of the box (at least in sufficiently big version of the box)\r\n\r\n- [ ] Instead?\r\nI'm not sure this one supports everything vim magic strings can do"},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/231156219","html_url":"https://github.com/syl20bnr/spacemacs/issues/6524#issuecomment-231156219","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6524","id":231156219,"user":{"login":"a13ph","id":577817,"avatar_url":"https://avatars.githubusercontent.com/u/577817?v=3","gravatar_id":"","url":"https://api.github.com/users/a13ph","html_url":"https://github.com/a13ph","followers_url":"https://api.github.com/users/a13ph/followers","following_url":"https://api.github.com/users/a13ph/following{/other_user}","gists_url":"https://api.github.com/users/a13ph/gists{/gist_id}","starred_url":"https://api.github.com/users/a13ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a13ph/subscriptions","organizations_url":"https://api.github.com/users/a13ph/orgs","repos_url":"https://api.github.com/users/a13ph/repos","events_url":"https://api.github.com/users/a13ph/events{/privacy}","received_events_url":"https://api.github.com/users/a13ph/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T17:53:02Z","updated_at":"2016-07-07T17:53:02Z","body":"@d12frosted think mode strings like this in emacs `-*- org-mode -*-` (or something of sorts)\r\nThose are rarely used in emacs nowadays, but still occur in the wild.\r\nWhile vim their kind of magic strings is quite common and can do much more, being their file-local variables, if you wish.\r\n[See vim docs on sourceforge or elsewhere for the word \"modeline\"](http://vimdoc.sourceforge.net/htmldoc/options.html#modeline)"}}
{"actor":{"display_login":"a13ph"}}