Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 326 by [email protected]: filetype plugin not loaded when file
opened from within vim rather than from command line
https://code.google.com/p/vim/issues/detail?id=326
What steps will reproduce the problem?
1. Use the following 3 lines as your .vimrc file:
filetype on
filetype plugin on
filetype indent on
2. Edit a python file:
foo@bar:~$ vim hamspam.py
3. Go in insert mode, then press the TAB key
(Notice that typing TAB inserts 4 spaces rather than a single tab character)
4. From within vim, edit a different file (:e foobar.py)
5. Go in insert mode, then press the TAB key
What is the expected output? What do you see instead?
Expected: Typing TAB inserts 4 spaces, just like it did for the first file.
What I see: This time, a tab character (^I) is inserted, messing up the
indents for the interpreter.
What version of the product are you using? On what operating system?
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 2 2014 19:39:32)
Included patches: 1-52
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.