nvim-vtsls's People
nvim-vtsls's Issues
Errors on Neovim nightly
Hi,
Today I started getting some errors with nightly Neovim.
With this version:
NVIM v0.10.0-dev-2341+g929e1b7f1
I started getting this error:
Error detected while processing LspAttach Autocommands for "*":
Error executing lua callback: ...jan/.local/share/nvim/lazy/nvim-vtsls/lua/vtsls/init.lua:58: attempt to index field 'commands' (a nil value)
stack traceback:
...jan/.local/share/nvim/lazy/nvim-vtsls/lua/vtsls/init.lua:58: in function '_on_attach'
...stijan/.local/share/nvim/lazy/nvim-vtsls/plugin/init.lua:7: in function <...stijan/.local/share/nvim/lazy/nvim-vtsls/plugin/init.lua:5>
[C]: in function 'nvim_exec_autocmds'
...y/nvim-linux64/share/nvim/runtime/lua/vim/lsp/client.lua:757: in function 'on_attach'
.../nightly/nvim-linux64/share/nvim/runtime/lua/vim/lsp.lua:481: in function <.../nightly/nvim-linux64/share/nvim/runtime/lua/vim/lsp.lua:471>
.../nightly/nvim-linux64/share/nvim/runtime/lua/vim/lsp.lua:548: in function <.../nightly/nvim-linux64/share/nvim/runtime/lua/vim/lsp.lua:545>
[C]: in function 'pcall'
...y/nvim-linux64/share/nvim/runtime/lua/vim/lsp/client.lua:432: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
When I switched to (currently) last commit on Neovim neovim/neovim@0185152, I started getting this:
LSP[vtsls]: Error ON_ATTACH_ERROR: "...al/share/nvim/lazy/nvim-lspconfig/lua/lspconfig/util.lua:71: bad argument #1 to 'pairs' (table expected, got function)"
First one is probably related to this one neovim/neovim@597ecf7, but I'm not sure why the 2nd error happens.
Is it possible to autocomplete tsconfig with vtsls and nvim
From what I see in tsconfig, I think that vtsls can give error in tsconfig. For instance, I do get:
โ ๏ Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext'. ts [24, 15]
Is it possible to set up vtsls an nvim to autocomplete json. Or is it currently unsupported?
Is it possible to get all workspace diagnostics like in vscode?
Hi! I only recently discovered the power of nvim-vtsls with its powerful code actions. This is awesome!
While doing this I remembered how vscode had a view of all workspace errors/analysis. Is it possible to get it in nvim?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.