Skip to content

Commit d07792a

Browse files
committed
feat: improve lsp and escaping
Closes #5
1 parent 3bb183f commit d07792a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+5542
-1836
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ require (
66
github.com/hexops/gotextdiff v1.0.3
77
go.lsp.dev/jsonrpc2 v0.10.0
88
go.lsp.dev/protocol v0.12.0
9+
go.lsp.dev/uri v0.3.0
910
)
1011

1112
require (
1213
github.com/segmentio/asm v1.1.3 // indirect
1314
github.com/segmentio/encoding v0.3.4 // indirect
1415
go.lsp.dev/pkg v0.0.0-20210717090340-384b27a52fb2 // indirect
15-
go.lsp.dev/uri v0.3.0 // indirect
1616
go.uber.org/atomic v1.9.0 // indirect
1717
go.uber.org/multierr v1.8.0 // indirect
1818
go.uber.org/zap v1.21.0 // indirect

gwirl-example/assets/styles.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gwirl-example/assets/table.css

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
.list {
2+
margin-top: 2rem;
3+
width: 100%;
4+
border: 1px solid #333;
5+
cellspacing: 0;
6+
}
7+
.list th,
8+
.list td {
9+
border-bottom: 1px solid #333;
10+
text-align: left;
11+
padding: 0.5rem;
12+
border-left: 1px solid #333;
13+
}
14+
15+
.list th {
16+
background-color: #666;
17+
}
18+
19+
.list th:first-of-type(),
20+
.list td:first-of-type() {
21+
border-left: none;
22+
}
23+
.list tr:last-of-type() td {
24+
border-bottom: none;
25+
}
26+
main .title-container {
27+
display: flex;
28+
flex-direction: row;
29+
align-items: center;
30+
justify-content: space-between;
31+
}
32+
33+
main .action,
34+
main .action:visited {
35+
text-decoration: none;
36+
border: 0;
37+
border-radius: 0;
38+
color: white;
39+
background-color: rgba(var(--accent), 100%);
40+
padding: 0.5rem;
41+
font-weight: 600;
42+
display: inline-block;
43+
}
44+
main .action:hover,
45+
main .action:focus {
46+
background-color: rgba(var(--accent), 85%);
47+
}

0 commit comments

Comments
 (0)