Skip to content

Commit

Permalink
don't bother indexing without vpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Apr 17, 2024
1 parent 897f565 commit a3654a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/general.v
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ pub fn (mut ls LanguageServer) initialized(mut wr ResponseWriter) {
loglib.info('-------- New session -------- ')
if ls.paths.vexe == '' || ls.paths.vlib_root == '' {
ls.client.send_server_status(health: 'error', quiescent: true)
return
} else {
ls.client.send_server_status(health: 'ok')
}
Expand Down

0 comments on commit a3654a1

Please sign in to comment.