hismailbulut / Neoray

Simple and lightweight GUI client for Neovim
MIT License
146 stars 5 forks source link

Neoray starts without any messages and does not display window when `init.vim` is malformed #33

Closed bunyk closed 2 years ago

bunyk commented 2 years ago

Please complete the following information:

Describe the bug Given malformed init.vim neoray starts without creating window, or any error messages.

Steps to reproduce

  1. Add into init.vim contents like in example below.
  2. run neoray
  3. No window appears, logs contain only
    [TRACE] [NVIM] Neovim version 0.6.0
    [TRACE] [NEORAY] Glfw version: 3.3.4 X11 GLX EGL OSMesa clock_gettime evdev
    [TRACE] [RENDERER] Opengl Version: 4.6 (Core Profile) Mesa 21.2.6

While nvim shows message:

Error detected while processing /home/tbunyk/.config/nvim/init.vim:
line    1:
E15: Invalid expression: \

It would be nice to have same feedback in neoray, instead of silently refusing to render.

Your neoray config in init.vim

let g:coc_global_extensions = [ \
        "'coc-tsserver' \
                                \ ]
hismailbulut commented 2 years ago

You are right. Neoray must handle like this situations. But I am so busy currently. I will try to fix tis soon.