mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 23:15:26 +02:00
fix(wireguard): Fix completions
This commit is contained in:
parent
6dde93c521
commit
70b05e19fe
@ -201,7 +201,11 @@ func (p wireguardSection) getCompletionsForPropertyLine(
|
||||
option, found := options[property.Key.Name]
|
||||
|
||||
if !found {
|
||||
return nil, propertyNotFoundError{}
|
||||
if character < property.Separator.Location.Start {
|
||||
return nil, propertyNotFullyTypedError{}
|
||||
} else {
|
||||
return nil, propertyNotFoundError{}
|
||||
}
|
||||
}
|
||||
|
||||
if property.Value == nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user