Skip to content

Commit

Permalink
feat: add docs for experimental tsserver
Browse files Browse the repository at this point in the history
  • Loading branch information
fdaciuk committed Feb 20, 2024
1 parent dd0b842 commit d2bb554
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions customization/flags.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@ Auto format the code on save if the LSP has this feature.
Disable theme auto loading. Use this flag if you want to setup your theme manually without setting `colorscheme` and loading themes automatically.
- Options: `true` and `false`
- Default: `false`

### `experimental_tsserver`
Use [`typescript-tools`](https://github.com/pmizio/typescript-tools.nvim) as LSP instead of `tsserver` from [`mason-lspconfig`](https://github.com/williamboman/mason-lspconfig.nvim).
This feature is experimental, but you can enable/disable it any time.
To create your own custom `on_attach` function, you can keep using `lsps.tsserver`, as shown in [Installing LSPs](/customization/installing-lsps) section.
- Options: `true` and `false`
- Default: `false`
1 change: 1 addition & 0 deletions customization/how-it-works.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ return {
disable_auto_theme_loading = false,
disable_tabs = false,
format_on_save = false,
experimental_tsserver = false,
},
hooks = {},
mappings = {
Expand Down

0 comments on commit d2bb554

Please sign in to comment.