VIM: Not an editor command
Closed this issue · 7 comments
I installed the plugin by vundle, i have cmake version 3.0 and my vim version is 7.4.
However, if i
:CMakeCreateProject build. Vim gives me the error: "Not an editor command"
The test suite gives me a lot of errors, mainly with this message:
"No suitable Vim executable could be found for this system."
That's my ~/.vimrc file: Any help would be great.
"Codigo
set number
syntax on
"Tab configuration
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
"Paste
set pastetoggle=
"
set foldmethod=marker
set foldmarker={,}
let g:ycm_global_ycm_extra_conf = '/home/edno/.ycm_extra_conf.py'
let g:ycm_path_to_python_interpreter = '/usr/bin/python2'
let g:cmake_cxx_compiler = 'g++'
let g:cmake_build_directories = [ "build" ]
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
"
" " let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'Valloric/YouCompleteMe'
Bundle 'jalcine/cmake.vim'
" " plugin from http://vim-scripts.org/vim/scripts.html
" Plugin 'L9'
" " Git plugin not hosted on GitHub
" Plugin 'git://git.wincent.com/command-t.git'
" " git repos on your local machine (i.e. when working on your own plugin)
" Plugin 'file:///home/gmarik/path/to/plugin'
" " The sparkup vim script is in a subdirectory of this repo called vim.
" " Pass the path to set the runtimepath properly.
" Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" " Avoid a name conflict with L9
" Plugin 'user/L9', {'name': 'newL9'}
"
" " All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" "
" " Brief help
" " :PluginList - lists configured plugins
" " :PluginInstall - installs plugins; append !
to update or just
" :PluginUpdate
" " :PluginSearch foo - searches for foo; append !
to refresh local cache
" " :PluginClean - confirms removal of unused plugins; append !
to
" auto-approve removal
" "
" " see :h vundle for more details or wiki for FAQ
" " Put your non-Plugin stuff after this line
Just a note:
Whenever a i open a new file, i see the following error now:
detected error while processing function cmake#augroup#on_file_type:
line 5:
exceeded character at the end of the line: else if(a:file_type == 'cmake').
My system language is portuguese. I've made here a foward translation, so the message may not fit the default. But the meaning may not change.
Same here, just added the Plugin and ran ``Bundle Install`
This and a few more are being fixed as part of a heavy re-factor I'm doing for the 0.5.x
release. Thanks for keeping up interest in the plugin! Changes are on the feature/prep-for-0.5.x
branch.
Shit, you just caught something interesting. The fact that the test suite
can't find your Vim is really bad. I'll have to fix that in a separate
branch. I'm going to make a pre-release soon that should fix these problems.
Sorry for taking ages to reply, a lot of sth is happening on my side.
Man, i don't know if it will help you but if i do
:help cmake
Vim shows me the help docs.
I have updated my vim version to 7.4.537, tried to install again and the error persists.
@fco-edno Can you try checking out the branch feature/prep-for-0.5.x
and running the test suit then? Using bin/parallel_rspec spec
would make it go a lot faster. I've done a lot of cleaning up.
Version 0.5.0 should fix these issues. Re-open if you get more issues, thanks!