-
-
Notifications
You must be signed in to change notification settings - Fork 124
feat(lsp): Add textDocument/completion to LSP
#2398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
ad59c93
62f5647
fd2c3e0
e134150
05cc65d
0311714
5e2e1fe
553897a
4c88087
a0ea77c
99221bf
f3995c4
116133c
6b43263
e888fa1
b08ed3f
782bd6e
a0ad2ac
bf7dc3e
23866da
4934c39
00d0eed
b510283
280ee97
92c4ca7
98e98d1
f636d27
f25173d
9be7bfa
702a409
37c646e
a725d69
6b6a9dc
e9fb404
7602c14
dc6a177
8043c41
a69d456
e3ebe83
7fd7e5c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| (lang dune 3.0) | ||
| (lang dune 3.7) | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This had to be changed to allow for |
||
| (name grain) | ||
| (version 0.7.2) | ||
| (using menhir 2.0) | ||
|
|
@@ -38,6 +38,10 @@ | |
| (name grain_language_server) | ||
| (synopsis "Grain Language Server Protocol")) | ||
|
|
||
| (package | ||
| (name grain_tree_sitter) | ||
| (synopsis "Tree-sitter parsing for Grain")) | ||
|
|
||
| (package | ||
| (name grain_formatting) | ||
| (synopsis "Grain formatting")) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,7 @@ | |
| }, | ||
| "scripts": { | ||
| "copy:exe": "cp -f #{$GRAINC_BIN_PATH} #{$GRAINDOC_BIN_PATH} #{$GRAINFORMAT_BIN_PATH} #{$GRAINLSP_BIN_PATH} #{$CLI_BIN_DIR}", | ||
| "copy:js": "cp -f #{$GRAINC_JS_PATH} #{$GRAINDOC_JS_PATH} #{$GRAINFORMAT_JS_PATH} #{$GRAINLSP_JS_PATH} #{$CLI_BIN_DIR}", | ||
| "copy:js": "cp -f #{$GRAINC_JS_PATH} #{$GRAINDOC_JS_PATH} #{$GRAINFORMAT_JS_PATH} #{$GRAINLSP_JS_PATH} #{$TREE_SITTER_GRAIN_WASM_PATH} #{$CLI_BIN_DIR}", | ||
| "clean": "rm -rf #{self.root}/_esy", | ||
| "build:js": "esy b dune build @js --no-buffer -j 2", | ||
| "test": "#{$TEST_EXEC_PATH}", | ||
|
|
@@ -33,6 +33,7 @@ | |
| }, | ||
| "dependencies": { | ||
| "@grain/binaryen.ml": ">= 0.34.0 < 0.35.0", | ||
| "@grain/grain-tree-sitter.ml": "*", | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the intent here would be to ideally have grain-tree-sitter.ml and tree-sitter-grain (which I should probably change the name of one of them, lol) to become part of the grain project (not the repo but rather than org and under the grain umbrella) |
||
| "@opam/cmdliner": ">= 1.1.1 < 2.0.0", | ||
| "@opam/dune": ">= 3.17.1 < 4.0.0", | ||
| "@opam/dune-build-info": ">= 3.17.1 < 4.0.0", | ||
|
|
@@ -48,6 +49,7 @@ | |
| "@opam/reason": ">= 3.11.0 <= 3.15.0", | ||
| "@opam/sedlex": ">= 3.0 < 4.0", | ||
| "@opam/sexplib": "v0.17.0", | ||
| "@opam/tree-sitter": "0.1.0", | ||
| "@opam/uri": ">= 4.2.0 < 5.0.0", | ||
| "@opam/utf8": "0.1.0", | ||
| "@opam/yojson": "2.1.1", | ||
|
|
@@ -68,7 +70,9 @@ | |
| "@opam/pastel": "reasonml/reason-native:pastel.opam#20b1997b6451d9715dfdbeec86a9d274c7430ed8", | ||
| "@opam/rely": "reasonml/reason-native:rely.opam#20b1997b6451d9715dfdbeec86a9d274c7430ed8", | ||
| "@opam/ocamlfind": "1.9.8", | ||
| "@opam/num": "1.5" | ||
| "@opam/num": "1.5", | ||
| "@grain/grain-tree-sitter.ml": "link:../../grain-tree-sitter.ml", | ||
| "@grain/tree-sitter-grain": "link:../../tree-sitter-grain" | ||
| }, | ||
| "installConfig": { | ||
| "pnp": false | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wasm file needed for js side of the completions