File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -1311,15 +1311,17 @@ current symbol."
13111311 (with-lsp-workspace workspace
13121312 (lsp--set-configuration (lsp-configuration-section " java" ))
13131313 (lsp--server-register-capability
1314- (ht (" id" " test-id" )
1315- (" method" " workspace/didChangeWatchedFiles" )
1316- (" registerOptions" (ht (" watchers"
1317- (vector (ht (" globPattern" " **/*.java" ))
1318- (ht (" globPattern" " **/pom.xml" ))
1319- (ht (" globPattern" " **/*.gradle" ))
1320- (ht (" globPattern" " **/.project" ))
1321- (ht (" globPattern" " **/.classpath" ))
1322- (ht (" globPattern" " **/settings/*.prefs" ))))))))))
1314+ (lsp-make-registration
1315+ :id " test-id"
1316+ :method " workspace/didChangeWatchedFiles"
1317+ :register-options? (lsp-make-did-change-watched-files-registration-options
1318+ :watchers
1319+ (vector (lsp-make-file-system-watcher :glob-pattern " **/*.java" )
1320+ (lsp-make-file-system-watcher :glob-pattern " **/pom.xml" )
1321+ (lsp-make-file-system-watcher :glob-pattern " **/*.gradle" )
1322+ (lsp-make-file-system-watcher :glob-pattern " **/.project" )
1323+ (lsp-make-file-system-watcher :glob-pattern " **/.classpath" )
1324+ (lsp-make-file-system-watcher :glob-pattern " **/settings/*.prefs" )))))))
13231325 :completion-in-comments? t
13241326
13251327 :download-server-fn #'lsp-java--ensure-server ))
You can’t perform that action at this time.
0 commit comments