Giter Club home page Giter Club logo

nvim-vtsls's People

Contributors

demianeen avatar kristijanhusak avatar yioneko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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?

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.