3dyuval / 3dyuval/nvim

Configure TypeScript language server and development environment

Đang mở
#1 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
task
Ngôn ngữ chính
Fennel
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# TypeScript Support

## Current Status
- [x] Codelens (current keymaps: `cL` refresh, `cr` run action)
- [x] Go to definition (current keymap: `gD` go to source definition)

## LSP Configuration Issue

**Problem**: LazyVim TypeScript extra conflicts with custom vtsls configuration
- LazyVim extra (`lazyvim.plugins.extras.lang.typescript`) tries to use `typescript-language-server`
- Custom LSP config uses `vtsls` and disables `tsserver`/`ts_ls`
- Results in EACCES permission error: `typescript-language-server` not found

**Current Setup**:
- `vtsls` installed via Mason
- Custom LSP configuration in `lua/plugins/lsp.lua`
- LazyVim TypeScript extra imported in `lazy.lua:20`

**Options**:
1. **Install both**: Keep LazyVim extra + install `typescript-language-server` alongside `vtsls`
2. **Override LazyVim**: Modify extra to use `vtsls` instead
3. **Document differences**: Research which LSP provides which specific functionality

**Need to determine**:
- Which features come from LazyVim TypeScript extra vs custom vtsls config
- What functionality would be lost by removing the LazyVim extra
- Performance impact of running multiple TypeScript LSPs

**Files involved**:
- `lua/config/lazy.lua` - LazyVim extra import
- `lua/plugins/lsp.lua` - Custom vtsls configuration
- Mason-installed tools: `vtsls` (working), `typescript-language-server` (missing)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.