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"
|
"bufio"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"timshome.page/gilo/internal/gilo"
|
"timshome.page/gilo/gilo"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Document struct {
|
type Document struct {
|
@ -2,8 +2,8 @@ package document
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
"timshome.page/gilo/internal/editor/highlight"
|
"timshome.page/gilo/editor/highlight"
|
||||||
"timshome.page/gilo/internal/gilo"
|
"timshome.page/gilo/gilo"
|
||||||
"unicode"
|
"unicode"
|
||||||
)
|
)
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
"timshome.page/gilo/internal/editor/highlight"
|
"timshome.page/gilo/editor/highlight"
|
||||||
"timshome.page/gilo/internal/gilo"
|
"timshome.page/gilo/gilo"
|
||||||
"timshome.page/gilo/internal/terminal"
|
"timshome.page/gilo/terminal"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
@ -4,10 +4,10 @@ package editor
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
doc "timshome.page/gilo/internal/editor/document"
|
doc "timshome.page/gilo/editor/document"
|
||||||
"timshome.page/gilo/internal/gilo"
|
"timshome.page/gilo/gilo"
|
||||||
"timshome.page/gilo/internal/key"
|
"timshome.page/gilo/key"
|
||||||
"timshome.page/gilo/internal/terminal"
|
"timshome.page/gilo/terminal"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
@ -1,6 +1,6 @@
|
|||||||
package highlight
|
package highlight
|
||||||
|
|
||||||
import "timshome.page/gilo/internal/terminal"
|
import "timshome.page/gilo/terminal"
|
||||||
|
|
||||||
func SyntaxToColor(hl int) string {
|
func SyntaxToColor(hl int) string {
|
||||||
switch hl {
|
switch hl {
|
@ -1,10 +1,10 @@
|
|||||||
package editor
|
package editor
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"timshome.page/gilo/internal/editor/document"
|
"timshome.page/gilo/editor/document"
|
||||||
"timshome.page/gilo/internal/gilo"
|
"timshome.page/gilo/gilo"
|
||||||
"timshome.page/gilo/internal/key"
|
"timshome.page/gilo/key"
|
||||||
"timshome.page/gilo/internal/terminal"
|
"timshome.page/gilo/terminal"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
@ -2,8 +2,8 @@ package editor
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
"timshome.page/gilo/internal/gilo"
|
"timshome.page/gilo/gilo"
|
||||||
"timshome.page/gilo/internal/key"
|
"timshome.page/gilo/key"
|
||||||
)
|
)
|
||||||
|
|
||||||
type moveCursor struct {
|
type moveCursor struct {
|
4
gilo.go
4
gilo.go
@ -4,8 +4,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"golang.org/x/term"
|
"golang.org/x/term"
|
||||||
"os"
|
"os"
|
||||||
"timshome.page/gilo/internal/editor"
|
"timshome.page/gilo/editor"
|
||||||
"timshome.page/gilo/internal/terminal"
|
"timshome.page/gilo/terminal"
|
||||||
)
|
)
|
||||||
|
|
||||||
func cleanup(oldState *term.State) {
|
func cleanup(oldState *term.State) {
|
||||||
|
Loading…
Reference in New Issue
Block a user