jalcine / cmake.vim

:hammer: CMake functionality within Vim.
https://jalcine.github.io/cmake.vim
MIT License
74 stars 11 forks source link

CMake commands do not load at startup. #25

Closed danpolanco closed 10 years ago

danpolanco commented 10 years ago

The CMake help files load up fine but none of the commands are loaded. I generated and briefly scanned a vim log to see if I could pinpoint the problem, but nothing stuck out to me.

Here are my plugins:

Plugin 'gmarik/Vundle.vim' Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-unimpaired' Plugin 'Raimondi/delimitMate' Plugin 'scrooloose/syntastic' Plugin 'scrooloose/nerdtree' Plugin 'scrooloose/nerdcommenter' Plugin 'Valloric/YouCompleteMe' Plugin 'hynek/vim-python-pep8-indent' Plugin 'flazz/vim-colorschemes' Plugin 'sjl/gundo.vim' Plugin 'christoomey/vim-tmux-navigator' Plugin 'tpope/vim-surround' Plugin 'bling/vim-airline' Plugin 'majutsushi/tagbar' Plugin 'Lokaltog/vim-easymotion' Plugin 'jistr/vim-nerdtree-tabs' Plugin 'msanders/snipmate.vim' Plugin 'kien/rainbow_parentheses.vim' Plugin 'mileszs/ack.vim' Plugin 'Shougo/unite.vim' Plugin 'Shougo/vimproc.vim' Plugin 'craigemery/vim-autotag' Plugin 'jalcine/cmake.vim'

Are there any files I can generate / paste to help debug this? Here is my tree structure: screen shot 2014-09-23 at 11 30 30 am

danpolanco commented 10 years ago

Oh. And it is a library, not an executable.

danpolanco commented 10 years ago

Odd... It appears to be working now. I'm not sure what changed. Give me until the end of the day to see if it continues to work. If it does, I'll close the issue.

jalcine commented 10 years ago

Might be something with a non-existing build directory. I'm still working on changing how it does some discovery to avoid speed issues.

danpolanco commented 10 years ago

You are right. Basically, once I open a .cpp file in vim, it then looks for the build file. When I look at the info though I get this:

screen shot 2014-09-23 at 3 19 25 pm

I know a little C++ and quite a bit of perl. I don't think that's helpful to your project, so let me know if there is something else I can help out with.

jalcine commented 10 years ago

The latest release didn't fix this; why did you close this?

danpolanco commented 10 years ago

The print info is a different problem. I've figured out how to get it to load CMake commands at start up. I'd like to open it as a different issue. Is that ok? I can reopen otherwise.

jalcine commented 10 years ago

Totally fine! I think this is still a bug so I'll look into it. but feel free.