higuri / tscwatch.vim Goto Github PK
View Code? Open in Web Editor NEWRun 'tsc --watch' asynchronously and show the output in Vim
Run 'tsc --watch' asynchronously and show the output in Vim
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"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.