diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2024-02-07 11:28:35 +0000 |
|---|---|---|
| committer | Lewis Russell <lewis6991@gmail.com> | 2024-03-01 23:00:20 +0000 |
| commit | 4ff3217bbd8747d2d44680a825ac29097faf9c4b (patch) | |
| tree | 22b024bfa5738a0556a88f9a35fca8cbe619841a /.github/scripts | |
| parent | 816b56f878f0291c00a9018d5057b7b2b00f1891 (diff) | |
| download | rneovim-4ff3217bbd8747d2d44680a825ac29097faf9c4b.tar.gz rneovim-4ff3217bbd8747d2d44680a825ac29097faf9c4b.tar.bz2 rneovim-4ff3217bbd8747d2d44680a825ac29097faf9c4b.zip | |
feat(lsp): add fswatch watchfunc backend
Problem:
vim._watch.watchdirs has terrible performance.
Solution:
- On linux use fswatch as a watcher backend if available.
- Add File watcher section to health:vim.lsp. Warn if watchfunc is
libuv-poll.
Diffstat (limited to '.github/scripts')
| -rwxr-xr-x | .github/scripts/install_deps.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/scripts/install_deps.sh b/.github/scripts/install_deps.sh index 9a782e9698..ad81e053f9 100755 --- a/.github/scripts/install_deps.sh +++ b/.github/scripts/install_deps.sh @@ -30,12 +30,12 @@ if [[ $os == Linux ]]; then fi if [[ -n $TEST ]]; then - sudo apt-get install -y locales-all cpanminus attr libattr1-dev gdb + sudo apt-get install -y locales-all cpanminus attr libattr1-dev gdb fswatch fi elif [[ $os == Darwin ]]; then brew update --quiet brew install ninja if [[ -n $TEST ]]; then - brew install cpanminus + brew install cpanminus fswatch fi fi |