Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
azzamh15 committed Apr 12, 2024
1 parent dcb6f9e commit b397434
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fortls/langserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ def serve_initialize(self, request: dict):

# Log final options
final_options = {}
for param in self.arguments_list:
if param.startswith("debug_") and param != "debug_log":
for argument in self.arguments_list:
if argument.startswith("debug_") and argument != "debug_log":
continue
final_options[param] = getattr(self, param)
final_options[argument] = getattr(self, argument)
log.debug("Final options: %s", final_options)

return {"capabilities": server_capabilities}
Expand Down

0 comments on commit b397434

Please sign in to comment.