Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 486 Bytes

File metadata and controls

19 lines (12 loc) · 486 Bytes

tsserver

The tsserver language server comes with the following extras:

  • rename_file(old, new) Tells the language server that a file was renamed. Useful when refactoring.

    Usage:

require'nvim-lsp-installer.extras.tsserver'.rename_file(old, new)
  • organize_imports(bufname) Organizes the imports of a file. bufname is optional, will default to current buffer.

    Usage:

require'nvim-lsp-installer.extras.tsserver'.organize_imports(bufname)