Skip to content

Commit ca11365

Browse files
committed
Allows for quotes on hover requests
This should allow for literal strings to display a signature when hovering
1 parent 20e41f2 commit ca11365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fortls/langserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ def get_definition(self, def_file, def_line, def_char, hover_req=False):
779779
def_line, forward=False, strip_comment=True
780780
)
781781
# Returns none for string literals, when the query is in the middle
782-
line_prefix = get_line_prefix(pre_lines, curr_line, def_char)
782+
line_prefix = get_line_prefix(pre_lines, curr_line, def_char, qs=False)
783783
if line_prefix is None:
784784
return None
785785
is_member = False

0 commit comments

Comments
 (0)