File tree
Expand file treeCollapse file tree1 file changed
+2
-3
lines changed Expand file treeCollapse file tree1 file changed
+2
-3
lines changed Original file line number | Diff line number | Diff line change |
---|
|
59 | 59 | (should (apply #'eglot--connect (eglot--guess-contact)))
|
60 | 60 | (should (eglot-current-server))
|
61 | 61 | (let ((lsp (eglot-current-server)))
|
62 |
| -(should (string= (oref lsp project-nickname) "PowerShellEditorServices")) |
63 |
| -(should (member 'powershell-mode (oref lsp major-modes))) |
64 |
| -(should (string= (oref lsp language-id) "powershell"))) |
| 62 | +(should (string= (eglot--project-nickname lsp) "PowerShellEditorServices")) |
| 63 | +(should (member (cons 'powershell-mode "powershell") (eglot--languages lsp)))) |
65 | 64 | (sleep-for 5) ; TODO: Wait for "textDocument/publishDiagnostics" instead
|
66 | 65 | (flymake-start)
|
67 | 66 | (goto-char (point-min))
|
|
You can’t perform that action at this time.
0 commit comments