Skip to content

Commit 6de6684

Browse files
committed
Allow for LS features to work for 0 columns
1 parent 881addd commit 6de6684

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CHANGELONG
22

3+
## 1.14.1
4+
5+
### Fixes
6+
7+
* Fixes language server features not triggering for variables in column 0
8+
39
## 1.14.0
410

511
### Fixes

fortls/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def get_var_stack(line):
308308
"CALL self%method(this%foo" -> ["this", "foo"]
309309
"""
310310
if len(line) == 0:
311-
return None
311+
return [""]
312312
final_var, sections = get_paren_level(line)
313313
if final_var == "":
314314
return [""]

0 commit comments

Comments
 (0)