0.0.10 • Published 2 years ago

@sigmasd/nvim-types v0.0.10

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

Nvim Types

This npm package provide types that you can use with https://github.com/TypeScriptToLua/TypeScriptToLua to write your neovim config or plugins in typescript

Usage

  1. Install this package and the required dependencies for a tstl project
npm install @sigmasd/nvim-types lua-types @typescript-to-lua/language-extensions typescript-to-lua typescript --save-dev 
  1. Modify your tsconfig.json to activate the types
  {
  "compilerOptions": {
    "types": ["@sigmasd/nvim-types", "@typescript-to-lua/language-extensions", "lua-types/jit"]
  }
}

Thats it you should be able now to run your project (npx tstl -p tsconfig.json) and have lsp working correctly.

Credits

Credits to https://github.com/jose-elias-alvarez/typescript.nvim for the original idea and code

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

1.0.0

2 years ago