Silence gopls hints (#2195)
This commit is contained in:
1 parent
4dc3d37684
commit
4bfd3c8ac5
9 files changed
+26
-27
No files matched your search
@@ -242,7 +242,7 @@ func (sm styleMap) parseFile(path string) {
|
||||
|
||||
// This function parses $LS_COLORS environment variable.
|
||||
func (sm *styleMap) parseGNU(env string) {
|
||||
for _, entry := range strings.Split(env, ":") {
|
||||
for entry := range strings.SplitSeq(env, ":") {
|
||||
if entry == "" {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user