0.0.10 • Published 11 months ago

@sigmasd/nvim-types v0.0.10

Weekly downloads
-
License
-
Repository
github
Last release
11 months 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

11 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago

1.0.0

11 months ago