Giter Site home page Giter Site logo

tscwatch.vim's People

Contributors

higuri avatar

Stargazers

 avatar  avatar

Watchers

 avatar

tscwatch.vim's Issues

pynvim.api.common.NvimError: request from non-main thread

When installed and run with neovim, the following error is thrown :

Request from non-main thread.
Requests from different threads should be wrapped with nvim.async_call(cb, ...)
  File "/opt/homebrew/Cellar/[email protected]/3.9.13_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
  File "/Users/mikaoelitiana/.cache/vimfiles/.cache/init.vim/.dein/autoload/python/tscwatch.py", line 75, in run
    qf.init(title=procname)
  File "/Users/mikaoelitiana/.cache/vimfiles/.cache/init.vim/.dein/autoload/python/tscwatch.py", line 27, in init
    vim.command('call setqflist([], "r")')
  File "/Users/mikaoelitiana/Library/Python/3.9/lib/python/site-packages/pynvim/api/nvim.py", line 287, in command
    return self.request('nvim_command', string, **kwargs)
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/[email protected]/3.9.13_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
  File "/Users/mikaoelitiana/.cache/vimfiles/.cache/init.vim/.dein/autoload/python/tscwatch.py", line 75, in run
    qf.init(title=procname)
  File "/Users/mikaoelitiana/.cache/vimfiles/.cache/init.vim/.dein/autoload/python/tscwatch.py", line 27, in init
    vim.command('call setqflist([], "r")')
  File "/Users/mikaoelitiana/Library/Python/3.9/lib/python/site-packages/pynvim/api/nvim.py", line 287, in command
    return self.request('nvim_command', string, **kwargs)
  File "/Users/mikaoelitiana/Library/Python/3.9/lib/python/site-packages/pynvim/api/nvim.py", line 178, in request
    raise NvimError("request from non-main thread")
pynvim.api.common.NvimError: request from non-main thread

here is my version output

:version
NVIM v0.7.2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by [email protected]

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.7.2_1/share/nvim"

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.