Skip to content

Commit

Permalink
Revert "feat(lsp): implement workspace/didChangeWatchedFiles (#21293)"
Browse files Browse the repository at this point in the history
This reverts commit 5732aa7.

Causes editor to freeze in projects with many watcher registrations
  • Loading branch information
mfussenegger committed Feb 25, 2023
1 parent 5732aa7 commit f0f27e9
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 1,279 deletions.
3 changes: 0 additions & 3 deletions runtime/doc/news.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,6 @@ The following new APIs or features were added.

|vim.treesitter.foldexpr()| can be used for 'foldexpr' to use treesitter for folding.

• Added support for the `workspace/didChangeWatchedFiles` capability to the
LSP client to notify servers of file changes on disk.

==============================================================================
CHANGED FEATURES *news-changes*

Expand Down
1 change: 0 additions & 1 deletion runtime/lua/vim/_editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ for k, v in pairs({
health = true,
fs = true,
secure = true,
_watch = true,
}) do
vim._submodules[k] = v
end
Expand Down
174 changes: 0 additions & 174 deletions runtime/lua/vim/_watch.lua

This file was deleted.

Loading

0 comments on commit f0f27e9

Please sign in to comment.