You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/Main.hs
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@ data Options = Options {
52
52
optWrappedLanguageServer::MaybeFilePath
53
53
, optWrappedArgs::MaybeText
54
54
, optShadowDirTemplate::MaybeFilePath
55
+
, optDidSaveDebouncePeriodMs::Int
55
56
, optLogLevel::MaybeText
56
57
}
57
58
@@ -60,6 +61,7 @@ options = Options
60
61
<$> optional (strOption (long "wrapped-server"<> help "Wrapped rust-analyzer binary"))
61
62
<*> optional (strOption (long "wrapped-args"<> help "Extra arguments to rust-analyzer"))
62
63
<*> optional (strOption (long "shadow-dir-template"<> help "Template for making a shadow project directory"))
64
+
<*> option auto (long "did-save-period-ms"<> showDefault <> help "Debounce period for sending textDocument/didSave notifications after changes"<> value 1000<> metavar "INT")
0 commit comments