Code Monkey home page Code Monkey logo

dyevim's People

Contributors

davits avatar real-or-random avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dyevim's Issues

Error with split windows

  1. Open file supported by DyeVim
  2. Split the window
  3. Scroll 1 tick up and 1 tick down with scroll wheel in new window

Result:

Error detected while processing function <SNR>151_OnCursorMoved:
line    1:
  File "<string>", line 1, in <module>
  File "/home/tim/.config/haskell-vim-now/.vim/bundle/DyeVim/autoload/../python/dye/dyevim.py", line 66, in OnCursorMoved
    self._windows[ self._GetCurrentWId() ].OnCursorMoved()
  File "/home/tim/.config/haskell-vim-now/.vim/bundle/DyeVim/autoload/../python/dye/window.py", line 75, in OnCursorMoved
    self.OnViewportChanged( current )
  File "/home/tim/.config/haskell-vim-now/.vim/bundle/DyeVim/autoload/../python/dye/window.py", line 87, in OnViewportChanged
    self._CreateMatchesForInterval( view )
  File "/home/tim/.config/haskell-vim-now/.vim/bundle/DyeVim/autoload/../python/dye/window.py", line 57, in _CreateMatchesForInterval
    for sr in self._buffer.GetSkippedRanges( view ):
  File "/home/tim/.config/haskell-vim-now/.vim/bundle/DyeVim/autoload/../python/dye/buffer.py", line 81, in GetSkippedRanges
    self._QuerySkippedRanges()
  File "/home/tim/.config/haskell-vim-now/.vim/bundle/DyeVim/autoload/../python/dye/buffer.py", line 90, in _QuerySkippedRanges
    self._timeout )
  File "/home/tim/.config/haskell-vim-now/.vim/bundle/YouCompleteMe/autoload/../python/ycm/youcompleteme.py", line 649, in GetSkippedRanges
    buffer = vim.buffers[ bufnr ]
ValueError: number must be greater than zero  

(Other cursor moves in step 3 yield essentially the same result but then the stack trace is output line by line.)

just does nothing

Sorry, this is not a very informative bug report.
Dyevim just does nothng in C++ files.

I installed your YCM and it works perfectly with semantic features. There is no error message. :echo g:loaded_dyevim shows 1. I use solarized8 but even when I switch to wombat256_mod, things like std are not highlighted.

Any hints how to debug this?

Token query timeouts

I often get errors of the form:
Token query timeout for buffer filename.cpp interval [a, b]

It may be related to the fact that my project is rather big and clang probably needs more time for tokenization, etc.

Any ideas how to solve this? May be it is possible to increase the timeout or something like this?

Configuration with YCM+DyeVim running with gvim does not work in Neovim

I use gvim and already configured an environment for programming in embedded software development in C. One of my favourite plugins is YCM and DyeVim. Currently I experiment with Neovim. I use the same .vimrc for gvim (v8.0.x) and neovim (0.2.2), OS is Xubuntu Xcfe 17.10. In gvim everything works fine. But when I start Neovim I receive the following error messages:

error durig execution of "function youcompleteme#Enable[13]..150_SetUpBalloon".
row 1:
E518: unknown option: balloonexp=youcompleteme#BalloonEval()
row 2:
E518: unknown option: balloondelay=1000

I already figured out that vim must be compiled with the option "balloon_eval".

Is there an option to disable the Balloon features?

Yesterday I already entered this issue at https://groups.google.com and already received the information that the balloon feature is not part of the official release anymore. Do you plan to sync your repo with the official version of YCM in the near future?

Please let me know if you need any further logs/outputs.

Best regards and thanks in advance,
Claudius

merge back to mainline ?

Thanks for this plugin - I've tested a bit and it works great.

What would it take to get your custom additions to ycmd/YouCompleteMe merged back into mainline? If you have a short list of items that need to get done to make it mergeable, I'd be willing to try to help where I can. I generally like to stay up-to-date with ycmd/YCM and it would benefit me to have this additional functionality in the mainline. Thanks.

Is it possible to use cquery instead of ycmd

Hello @davits ! Do you have plans to support language server protocol in your plugin? As far as I know, cquery language server is quite mature already, and it can work as a data provider for c/c++ semantic completion. As I read in the readme, now you maintain your own forks of ycmd and ycm. Maybe it is easier to just switch backend to cquery?

Please help to find the correct settings

I am looking for a solution to use YouCompleteMe + functional solution for 'GoTo'(Definition) + syntax highlighting of c++11. YouCompleteMe is working but I can only jump to declaration.
I used your dotfiles and therefor your plugins 'davits/YouCompleteMe' and 'davits/DyeVim' and followed your guideline.
In order to have a basic test I created a simple example using cmake tutorial. Please find attached example. These are the steps I executed to build the attached sample
a) extract the files to folder 'step2-0-basic'
b) $> mkdir build && cd build
c) $> cmake -DUSE_MYMATH=1 ..
d) $> make
e) $> mv compile_commands.json ..
f) $> cd .. && gvim tutorial.cxx
--> syntax highlighting is not working properly and using mapping from your dotfiles/vimrc 'gD', while cursor is on 'mysqrt'-function, will not go to definition but to declaration of corresponding function.

Do you see any error in my configuration?
Do you have any working sample you may share?

Kind regards, Claudius
step2-0-basic.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.