Johan Rong 14 ساعت پیش
والد
کامیت
ee7ae30cd3
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      internal/extension/highlight/registry.go

+ 4 - 4
internal/extension/highlight/registry.go

@@ -14,11 +14,11 @@ import "C"
 
 
 import (
 import (
 	"fmt"
 	"fmt"
-	"sync"
-	"unsafe"
+	"path/filepath"
 	"strings"
 	"strings"
+	"sync"
 	"unicode"
 	"unicode"
-	"path/filepath"
+	"unsafe"
 
 
 	sitter "github.com/smacker/go-tree-sitter"
 	sitter "github.com/smacker/go-tree-sitter"
 )
 )
@@ -106,4 +106,4 @@ func (r *Registry) GetLanguage(langName string) (*LanguageSpec, bool) {
 	defer r.mu.RUnlock()
 	defer r.mu.RUnlock()
 	spec, ok := r.languages[langName]
 	spec, ok := r.languages[langName]
 	return spec, ok
 	return spec, ok
-}
+}