Simplify package paths
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
This commit is contained in:
parent
9c1fa5402d
commit
6cdb658d43
@ -4,7 +4,7 @@ import (
|
||||
"bufio"
|
||||
"log"
|
||||
"os"
|
||||
"timshome.page/gilo/internal/gilo"
|
||||
"timshome.page/gilo/gilo"
|
||||
)
|
||||
|
||||
type Document struct {
|
@ -2,8 +2,8 @@ package document
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"timshome.page/gilo/internal/editor/highlight"
|
||||
"timshome.page/gilo/internal/gilo"
|
||||
"timshome.page/gilo/editor/highlight"
|
||||
"timshome.page/gilo/gilo"
|
||||
"unicode"
|
||||
)
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
"timshome.page/gilo/internal/editor/highlight"
|
||||
"timshome.page/gilo/internal/gilo"
|
||||
"timshome.page/gilo/internal/terminal"
|
||||
"timshome.page/gilo/editor/highlight"
|
||||
"timshome.page/gilo/gilo"
|
||||
"timshome.page/gilo/terminal"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
@ -4,10 +4,10 @@ package editor
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
doc "timshome.page/gilo/internal/editor/document"
|
||||
"timshome.page/gilo/internal/gilo"
|
||||
"timshome.page/gilo/internal/key"
|
||||
"timshome.page/gilo/internal/terminal"
|
||||
doc "timshome.page/gilo/editor/document"
|
||||
"timshome.page/gilo/gilo"
|
||||
"timshome.page/gilo/key"
|
||||
"timshome.page/gilo/terminal"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
@ -1,6 +1,6 @@
|
||||
package highlight
|
||||
|
||||
import "timshome.page/gilo/internal/terminal"
|
||||
import "timshome.page/gilo/terminal"
|
||||
|
||||
func SyntaxToColor(hl int) string {
|
||||
switch hl {
|
@ -1,10 +1,10 @@
|
||||
package editor
|
||||
|
||||
import (
|
||||
"timshome.page/gilo/internal/editor/document"
|
||||
"timshome.page/gilo/internal/gilo"
|
||||
"timshome.page/gilo/internal/key"
|
||||
"timshome.page/gilo/internal/terminal"
|
||||
"timshome.page/gilo/editor/document"
|
||||
"timshome.page/gilo/gilo"
|
||||
"timshome.page/gilo/key"
|
||||
"timshome.page/gilo/terminal"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
@ -2,8 +2,8 @@ package editor
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"timshome.page/gilo/internal/gilo"
|
||||
"timshome.page/gilo/internal/key"
|
||||
"timshome.page/gilo/gilo"
|
||||
"timshome.page/gilo/key"
|
||||
)
|
||||
|
||||
type moveCursor struct {
|
4
gilo.go
4
gilo.go
@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"golang.org/x/term"
|
||||
"os"
|
||||
"timshome.page/gilo/internal/editor"
|
||||
"timshome.page/gilo/internal/terminal"
|
||||
"timshome.page/gilo/editor"
|
||||
"timshome.page/gilo/terminal"
|
||||
)
|
||||
|
||||
func cleanup(oldState *term.State) {
|
||||
|
Loading…
Reference in New Issue
Block a user