Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Marcin KuropatwiƄski
    @mkurop
    in spacevim it works now as expected after mapping <C-Space> to ycm completion
    so the problem is solved
    two little things
    the mapping
    and the insert mode
    Ben Jackson
    @puremourning
    oh so this whole time you weren't doing ctrl-space in insert mode? ok that... that explains it ;)
    Marcin KuropatwiƄski
    @mkurop
    first I have not mapped C-Space properly in spacevim
    I tried in insert mode as well
    but after I mapped C-Space in spacevim I tried without insert mode, I was not aware of that insert mode, most commands are invoked in normal mode
    in general my search was chaotic since I was not aware of that insert mode
    Jonathan Chan Kwan Yin
    @SOF3
    Is the rust-analyzer dependency outdated?
    I'm suffering from this issue rust-analyzer/rust-analyzer#4172
    it seems that rust-analyzer has already updated on their side
    but I'm still getting the error message of getting unable to find libcore.
    cl-ax
    @cl-ax
    Hi, how can I go to a type's definition with YCM and TypeScript?
    Ben Jackson
    @puremourning
    @SOF3 can you explain the issue you are seeing and how we can reproduce it?
    @cl-ax :YcmCompleter GoToDefinition doesn't work ?
    Boris Staletic
    @bstaletic
    There's also :YcmCompleter GoToType.
    cl-ax
    @cl-ax
    I think I was missing the tsuquoyoyi plugin (can't ever remember the name) that gives :TsuTypeDefinition
    Boris Staletic
    @bstaletic
    That's provided by :YcmCompleter GoToType.
    cl-ax
    @cl-ax
    So I don't need Tsuqouqoqy?
    Boris Staletic
    @bstaletic
    I have no idea what that thing is. A jump to the type definition is provided by GoToType.
    L-YM
    @Layamon
    image.png
    image.png
    How can I fix this problem? It seems like ycm can not find stdc++ headers?
    L-YM
    @Layamon
    image.png
    image.png
    already add these dir into ycm extra file... but not fix it
    Ben Jackson
    @puremourning
    YcmDebugInfo and YcmDiags
    RafaelRiosAsh
    @RafaelRiosAsh
    I tried installing ycm on my mac running 10.14.6, it obviously failed and I realized maybe too late that it's because of my gcc compiler, I read in one of the open issues that I could run an older version, I just have no idea how to do that, and haven't been able to find the answer anywhere, I was wondering if I could get some pointers
    Boris Staletic
    @bstaletic
    @RafaelRiosAsh Checking out an older version is just git reset --hard 4e480a317d4858db91631c14883c5927243d4893 && git submodule update --init --recursive
    Brian Orwe
    @Borwe
    Does anybody know how to make cmd completion pop up dialog on vim like it does on neovim ?
    Boris Staletic
    @bstaletic
    :h wildmenu and <C-d> is closest thing vim offers.
    Brian Orwe
    @Borwe
    Cool, thanks.
    Brian Orwe
    @Borwe
    I am having problem with ycm and ultisnips, the hints for snippet completion popup, but pressing <CR> nor <Tab> makes it fill in the buffer.
    Ben Jackson
    @puremourning
    what have you set as the ultisnips expand key?
    Brian Orwe
    @Borwe
    no, is that a new thing? I think I used to be able to just use it out of box.
    Ben Jackson
    @puremourning
    this is what i use
    it's been that way since forever
    afaik, nothing has changed, but if you can git bisect and find a change in YCM which changed the behaviour for you let us know
    Brian Orwe
    @Borwe
    My memory must be faultly then lol, let me check it out.
    klement
    @klement
    Interesting thing happened for me just now. I installed YCM and did the install.py --clangd-completer stuff and server was shutting down. Complaining about missing ycm_core. Issue solved by doing apt install libtinfo5. I think this should be mentioned somewhere - or maybe even automagically checked. Ubuntu 20.04
    Boris Staletic
    @bstaletic
    @klement What's the output of ldd ycm_core.so? That error shouldn't be a problem since a few years ago.
    klement
    @klement
    @bstaletic
    ksekera@c984e4769eef ~/.v/b/Y/t/ycmd ((f876f207?))> ldd ycm_core.so
            linux-vdso.so.1 (0x0000ffffa48d3000)
            libpython3.8.so.1.0 => /lib/aarch64-linux-gnu/libpython3.8.so.1.0 (0x0000ffffa3c96000)
            librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000ffffa3c7e000)
            libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000ffffa3a9b000)
            libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffffa39f0000)
            libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000ffffa39cb000)
            libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffffa385a000)
            libexpat.so.1 => /lib/aarch64-linux-gnu/libexpat.so.1 (0x0000ffffa3823000)
            libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x0000ffffa37f9000)
            libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffffa37c9000)
            libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000ffffa37b5000)
            libutil.so.1 => /lib/aarch64-linux-gnu/libutil.so.1 (0x0000ffffa37a1000)
            /lib/ld-linux-aarch64.so.1 (0x0000ffffa48a3000)
    @bstaletic this is what caught my attention
    ksekera@c984e4769eef ~/.v/b/Y/t/ycmd ((f876f207?))> less /tmp/ycmd_36547_stderr_c8lpuaa2.log
    Traceback (most recent call last):
      File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
        return _run_code(code, main_globals, None,
      File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
        exec(code, run_globals)
      File "/home/ksekera/.vim/bundle/YouCompleteMe/python/ycm/../../third_party/ycmd/ycmd/__main__.py", line 193, in <module>
        Main()
      File "/home/ksekera/.vim/bundle/YouCompleteMe/python/ycm/../../third_party/ycmd/ycmd/__main__.py", line 160, in Main
        code = ImportAndCheckCore()
      File "/home/ksekera/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/utils.py", line 497, in ImportAndCheckCore
        LoadYcmCoreDependencies()
      File "/home/ksekera/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/utils.py", line 482, in LoadYcmCoreDependencies
        ctypes.cdll.LoadLibrary( libclang_path )
      File "/usr/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary
        return self._dlltype(name)
      File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__
        self._handle = _dlopen(self._name, mode)
    OSError: libtinfo.so.5: cannot open shared object file: No such file or directory
    Ben Jackson
    @puremourning
    that looks to be tring to load libclang, which means --clang-completer