Skip to content

Commit 7c24cd4

Browse files
committed
Do not include debug cmd arguments
1 parent ab60590 commit 7c24cd4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fortls/langserver.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ def __init__(self, conn, settings: dict):
101101
# class variable. This way the command line and the file interfaces
102102
# are always on sync, with the same default arguments
103103
for k, v in settings.items():
104+
# Do not parse command line debug arguments
105+
if k.startswith("debug_") and k != "debug_log":
106+
continue
104107
setattr(self, k, v)
105108

106109
self.sync_type: int = 2 if self.incremental_sync else 1

0 commit comments

Comments
 (0)