[EMAIL PROTECTED] wrote:
Hi Tony and Chip,
Yes indeed. When processing with my test there was a local $HOME/.vimrc
file.
First case: without line filetype plugin on in $HOME/.vimrc file.
Second case: with line filetype plugin on in $HOME/.vimrc file.
In both cases: no $HOME/.vim/filetype.vim
Subject:Re: ftplugin not detected
[EMAIL PROTECTED] wrote:
Hi Tony and Chip,
Yes indeed. When processing with my test there was a local $HOME/.vimrc
file.
First case: without line filetype plugin on in $HOME/.vimrc file.
Second case: with line filetype plugin on in $HOME/.vimrc file
[EMAIL PROTECTED] wrote:
Hi Tony,
That's fine, thanks. When I have some time, I'll try and have a look at the
script in detail.
If I have further questioning I'll then directly contact the maintainer.
Regards,
Julien
A last word of caution (well, maybe it should have been first): don't
[EMAIL PROTECTED] wrote:
Yes indeed. When processing with my test there was a local $HOME/.vimrc
file...snip
In the second case, the Ctrl-] shortcut echos :call JumpToTag_ada('') on
the command line. The :verbose map C-] echos:
n C-] *@:call JumpToTag_ada('')CR
on the command line.
Charles E Campbell Jr wrote:
[EMAIL PROTECTED] wrote:
Yes indeed. When processing with my test there was a local $HOME/.vimrc
file...snip
In the second case, the Ctrl-] shortcut echos :call
JumpToTag_ada('') on
the command line. The :verbose map C-] echos:
n C-] *@:call
PROTECTED] - 07/18/2006 02:39 PM
To:Julien 3 NGUYEN
cc:drchip, vim
Subject:Re: ftplugin not detected
[EMAIL PROTECTED] wrote:
Hi Tony,
That's fine, thanks. When I have some time, I'll try and have a look at
the
script in detail.
If I have further questioning I'll then directly
Hello,
Charles E Campbell Jr [EMAIL PROTECTED] wrote:
[...]
the plugin should be using: (untested, as I don't use Ada myself)
if !hasmapto('PlugJumpToTag_ada')
nno unique buffer c-] PlugJumpToTag_ada
endif
nmap silent script PlugJumpToTag_ada :call JumpToTag_ada('')cr
[EMAIL PROTECTED] wrote:
Hello,
Charles E Campbell Jr [EMAIL PROTECTED] wrote:
[...]
the plugin should be using: (untested, as I don't use Ada myself)
if !hasmapto('PlugJumpToTag_ada')
nno unique buffer c-] PlugJumpToTag_ada
endif
nmap silent script PlugJumpToTag_ada :call
A.J.Mechelynck [EMAIL PROTECTED] wrote:
[...]
The .vimrc is not suited to buffer-local definitions. One of the best
solution,
IMHO, is to have a ftplugin, dedicated to settings and options, that
overides
default settings.
When the definitions come from a standard ftplugin, just drop
AM
To:drchip
cc:Julien 3 NGUYEN, vim
Subject:Re: ftplugin not detected
Charles E Campbell Jr wrote:
[EMAIL PROTECTED] wrote:
Hi everybody,
ViM does not detect my ada ftplugin file in $HOME/.vim/ftplugin/ada.vim,
though my runtimepath variable contains ~/.vim .
If I source
[EMAIL PROTECTED] wrote:
When adding the filetype plugin on to my .vimrc file, my ftplugin file is
indeed loaded when I edit *.adb files (Ada).
But it seems other stuff does not work in that case. I use vim 6.3.82.
So I made the following test: with no local filetype.vim file and no file
in
Charles E Campbell Jr wrote:
[EMAIL PROTECTED] wrote:
When adding the filetype plugin on to my .vimrc file, my ftplugin
file is
indeed loaded when I edit *.adb files (Ada).
But it seems other stuff does not work in that case. I use vim 6.3.82.
So I made the following test: with no local
Charles E Campbell Jr wrote:
[EMAIL PROTECTED] wrote:
Hi everybody,
ViM does not detect my ada ftplugin file in $HOME/.vim/ftplugin/ada.vim,
though my runtimepath variable contains ~/.vim .
If I source the file manually, my stuff does work.
Has anyone an idea of what's wrong?
Your .vimrc
[EMAIL PROTECTED] wrote:
Hi everybody,
ViM does not detect my ada ftplugin file in $HOME/.vim/ftplugin/ada.vim,
though my runtimepath variable contains ~/.vim .
If I source the file manually, my stuff does work.
Has anyone an idea of what's wrong?
Your .vimrc needs
filetype plugin
Hi everybody,
ViM does not detect my ada ftplugin file in $HOME/.vim/ftplugin/ada.vim,
though my runtimepath variable contains ~/.vim .
If I source the file manually, my stuff does work.
Has anyone an idea of what's wrong?
Regards,
Julien
This message and any attachments (the message) is
15 matches
Mail list logo