File tree Expand file tree Collapse file tree 5 files changed +22
-10
lines changed
Expand file tree Collapse file tree 5 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 9191 path : ${{ matrix.platform.name }}
9292 release :
9393 name : Release
94+ permissions :
95+ contents : write
9496 needs :
9597 - build
9698 - test
@@ -111,5 +113,3 @@ jobs:
111113 generate_release_notes : true
112114 draft : false
113115 tag_name : ${{ github.ref_name }}
114- env :
115- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -5,14 +5,17 @@ export RUST_LOG=info
55test :
66 cargo test
77
8- build :
8+ build : generate_word_list
99 cd codebook-lsp && cargo build
1010
11- build-release :
11+ build-release : generate_word_list
1212 cd codebook-lsp && cargo build --release
1313
1414integration_test : build
1515 cd integration_tests && bun test
1616
1717install_ext : build-release
1818 cp -f target/release/codebook-lsp " ${HOME} /Library/Application Support/Zed/extensions/work/codebook/"
19+
20+ generate_word_list :
21+ bun run scripts/generate_combined_wordlist.ts
Original file line number Diff line number Diff line change @@ -70,13 +70,15 @@ pub static LANGUAGE_SETTINGS: [LanguageSetting; 7] = [
7070 type_ : LanguageType :: Javascript ,
7171 name : "javascript" ,
7272 query : r#"
73- (identifier) @identifier
74- (string) @string
7573 (comment) @comment
76- (template_string) @string
74+ (string_fragment) @string
75+ (string) @string
76+ (variable_declarator
77+ name: (identifier) @identifier)
7778 (jsx_text) @string
78- (property_identifier) @identifier
7979 (shorthand_property_identifier) @identifier
80+ (function_declaration
81+ name: (identifier) @identifier)
8082 (method_definition
8183 name: (property_identifier) @identifier)
8284 (class_declaration
Original file line number Diff line number Diff line change @@ -135,8 +135,6 @@ fn test_example_files() {
135135 "Pleese" ,
136136 "additshun" ,
137137 "arra" ,
138- "ballance" ,
139- "calculater" ,
140138 ] ,
141139 ) ,
142140 (
Original file line number Diff line number Diff line change @@ -301,6 +301,7 @@ ccccff
301301ccx
302302cd
303303cdata
304+ cdn
304305cell
305306cellpadding
306307cellspacing
@@ -966,6 +967,7 @@ hostname
966967hover
967968hr
968969href
970+ htm
969971html
970972htmlelement
971973http
@@ -1123,6 +1125,7 @@ jsonobject
11231125jsontypeinfo
11241126jsref
11251127jstree
1128+ jsx
11261129juju
11271130jumbotron
11281131junit
@@ -1198,6 +1201,7 @@ linkcol
11981201linkedlist
11991202links
12001203lint
1204+ linter
12011205list
12021206listener
12031207listeners
@@ -1238,6 +1242,7 @@ longhands
12381242loop
12391243loose
12401244lower
1245+ lsp
12411246lt
12421247lucene
12431248ma
@@ -1781,6 +1786,7 @@ row
17811786rowcolor
17821787rows
17831788rowspan
1789+ rpc
17841790rr
17851791rs
17861792rt
@@ -1880,6 +1886,7 @@ setup
18801886setvalue
18811887setvisible
18821888sf
1889+ sha
18831890shadow
18841891shape
18851892share
@@ -2200,6 +2207,7 @@ try
22002207trydecodeasnil
22012208ts
22022209tsd
2210+ tsx
22032211tt
22042212tta
22052213tuple
23372345web
23382346webdev
23392347webkit
2348+ webp
23402349webpack
23412350websites
23422351week
You can’t perform that action at this time.
0 commit comments