Skip to content

Commit 9ee3832

Browse files
authored
feat: do not watch devenv and jj directories (#4911)
1 parent 3fb0293 commit 9ee3832

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.org

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
* Fix missing gopls inlay hints when ~lsp-use-plist~ is true
4949
* Fix bug where persist was attempted when lsp-session-file is nil
5050
* Debugging tests in Rust no longer runs all the tests prior to launching debug session.
51+
* Add [[https://devenv.sh/][devenv]] and [[https://jj-vcs.github.io/jj/latest/][jj]] directories to the list of ignored directories (~lsp-file-watch-ignored-directories~)
5152

5253
** 9.0.0
5354
* Add language server config for QML (Qt Modeling Language) using qmlls.

lsp-mode.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ the server has requested that."
352352
"[/\\\\]_darcs\\'"
353353
"[/\\\\]\\.svn\\'"
354354
"[/\\\\]_FOSSIL_\\'"
355+
"[/\\\\]\\.jj\\'"
355356
;; IDE or build tools
356357
"[/\\\\]\\.idea\\'"
357358
"[/\\\\]\\.ensime_cache\\'"
@@ -423,7 +424,9 @@ the server has requested that."
423424
;; nix-direnv
424425
"[/\\\\]\\result"
425426
"[/\\\\]\\result-bin"
426-
"[/\\\\]\\.direnv\\'")
427+
"[/\\\\]\\.direnv\\'"
428+
;; nix-devenv
429+
"[/\\\\]\\.devenv\\'")
427430
"List of regexps matching directory paths which won't be monitored when
428431
creating file watches. Customization of this variable is only honored at
429432
the global level or at a root of an lsp workspace."

0 commit comments

Comments
 (0)