Migrate from tsserver to ts_ls
This commit is contained in:
		@@ -6,6 +6,10 @@ A template for getting started with [AstroNvim](https://github.com/AstroNvim/Ast
 | 
			
		||||
 | 
			
		||||
## System dependencies
 | 
			
		||||
- `lazygit` for lazygit integration
 | 
			
		||||
- `typescript-language-server` and `typescript` installed globally from npm
 | 
			
		||||
```bash
 | 
			
		||||
npm install -g typescript-language-server typescript
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## 🛠️ Installation
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -42,6 +42,7 @@ return {
 | 
			
		||||
    -- customize language server configuration options passed to `lspconfig`
 | 
			
		||||
    ---@diagnostic disable: missing-fields
 | 
			
		||||
    config = {
 | 
			
		||||
      ts_ls = {},
 | 
			
		||||
      -- clangd = { capabilities = { offsetEncoding = "utf-8" } },
 | 
			
		||||
    },
 | 
			
		||||
    -- customize how language servers are attached
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,6 @@ return {
 | 
			
		||||
    opts = {
 | 
			
		||||
      ensure_installed = {
 | 
			
		||||
        "lua_ls",
 | 
			
		||||
        "ts_ls",
 | 
			
		||||
        -- add more arguments for adding more language servers
 | 
			
		||||
      },
 | 
			
		||||
    },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user