how to make this works with vim on Ubuntu?
error: "Option 'omnifunc' is not set."
rgv151 5 months ago
@rgv151 Which version of vim do you use?
hnanki 5 months ago
@hnanki I'm using vim 7.3 on Ubuntu 11.10 beta1
@rgv151 If the syntax highlighting also disabled, you need to set filetype to "objj".
Use HEAD of the vim-objj(to which I added a ftdetect) or write "au BufNewFile,BufRead *.j,Jakefile sets objj" in your .vimrc.
You should set runtimepath as the README said.
First of all, you must use vim7 compiled with if_ruby option.
# minimal_vimrc
set runtimepath+=~/vim-objj
au BufNewFile,BufRead *.j,Jakefile setf objj
$ vim -U minimal_vimrc --noplugin main.j
hnanki 1 year ago
Could you share your vimrc with us? Thanks!
diengcaldera 1 year ago
Typing Ctrl-X Ctrl-O in insert mode is for omni-completion which is supported from vim7.
You can get further information about this by :help compl-omni.
Hum, how to make it work. I followed your instruction but it failed. What does C-x,C-o means?
how to make this works with vim on Ubuntu?
error: "Option 'omnifunc' is not set."
rgv151 5 months ago
@rgv151 Which version of vim do you use?
hnanki 5 months ago
@hnanki I'm using vim 7.3 on Ubuntu 11.10 beta1
rgv151 5 months ago
@rgv151 If the syntax highlighting also disabled, you need to set filetype to "objj".
Use HEAD of the vim-objj(to which I added a ftdetect) or write "au BufNewFile,BufRead *.j,Jakefile sets objj" in your .vimrc.
You should set runtimepath as the README said.
hnanki 5 months ago
First of all, you must use vim7 compiled with if_ruby option.
# minimal_vimrc
set runtimepath+=~/vim-objj
au BufNewFile,BufRead *.j,Jakefile setf objj
$ vim -U minimal_vimrc --noplugin main.j
hnanki 1 year ago
Could you share your vimrc with us? Thanks!
diengcaldera 1 year ago
Typing Ctrl-X Ctrl-O in insert mode is for omni-completion which is supported from vim7.
You can get further information about this by :help compl-omni.
hnanki 1 year ago
Hum, how to make it work. I followed your instruction but it failed. What does C-x,C-o means?
diengcaldera 1 year ago