Silence gopls hints (#2195)

This commit is contained in:
CatsDeservePets authored and GitHub committed 2025-10-09 02:18:16 +02:00
1 parent 4dc3d37684
commit 4bfd3c8ac5
9 files changed
+26 -27

No files matched your search

+1 -1
View File
@@ -312,7 +312,7 @@ func matchShellFile(s string) (matches []compMatch, result string) {
func matchExec(s string) (matches []compMatch, result string) {
var words []string
for _, p := range strings.Split(envPath, string(filepath.ListSeparator)) {
for p := range strings.SplitSeq(envPath, string(filepath.ListSeparator)) {
files, err := os.ReadDir(p)
if err != nil {
if !os.IsNotExist(err) {