Hi,is there a method show all references about the word under current
cursor in a new window?
or a plugin more easy to use than cscope and support golang
I know four way,
1. [I,
2. grep then :cope
3.just cscope
4.# or *
but it seems method one just work in the same file, not project.
method two
Hi Christian,
thanks, you're right, fdm was different when file postfix was different,
*.cc was syntax, *.cpp was manual, so I need to check my .vimrc. but I have
set fdm to syntax, it's strange.
Best
YZ
2017-03-30 2:12 GMT+08:00 Christian Brabandt :
> Hi YZ!
>
> In both
vim cannot fold test.cpp, vim prompts E490 no fold found, but rename this
file to test.c or test.cc, vim can use zc to fold this same code.
I have set configure in .vimrc foldmethod=syntax set foldlevel=0 set
foldnestmax=2 VIMRUNTIME=/usr/share/vim/vim80
in /usr/share/vim/vim80/ftplugin, there
在 2017年3月29日星期三 UTC+8下午1:16:40,YZ Xie写道:
> Hi everyone,
>
>
> my .vimrc was
> set foldmethod=syntax
> filetype plugin indent on " Automatically detect file types.
> syntax enable
> syntax on
>
> but it cannot fold code if file was nam
Hi everyone,
my .vimrc was
set foldmethod=syntax
filetype plugin indent on " Automatically detect file types.
syntax enable
syntax on
but it cannot fold code if file was named like *.cpp, but it can work well
if file was name *.c or *.cc. golang code failed too.
my vim was installed by