3dyuval / 3dyuval/nvim

Optimize file watchers to prevent ENOSPC errors

Đang mở
#48 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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ả

## Problem
Getting ENOSPC (Error NO SPaCe) errors due to too many file watchers being consumed by Neovim plugins.

## Analysis Results
Major file watcher consumers identified:
- LSP servers (Volar, typescript-tools.nvim)
- Git plugins (gitsigns.nvim, diffview.nvim with watch_index=true)
- File explorer (Snacks.nvim picker.explorer)
- Auto-refresh features (Codelens refresh on TextChanged)

## Tasks
- [ ] Configure typescript-tools to ignore node_modules and large directories
- [ ] Set diffview.nvim watch_index to false
- [ ] Add LSP file watching optimizations
- [ ] Document system-level fix (increase inotify watches)
- [ ] Consider adding .ignore patterns for large directories

## System Fix
Document this command in README:
```bash
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
```

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.