Environment preparation and LSP setup #42
Replies: 2 comments
|
Am running now, and will contribute a build guide for I do have formatting working on-save. The issue I am facing is getting an Do you have an example of a working configuration for this @max-privatevoid? I know you are not using Any help would be appreciated; this seems like the last roadblock before daily use, then I will be able to help tune the experience. |
|
Seems like I am almost there. I am running the equivalent of At first ( and still, now ) I was seeing an inscrutable ( to me ) error from any/all language servers: What got me headed toward I fumbled around and eventually settled upon a configuration like this, for each of the languages that matter to me: "languages": {
"TypeScript": {
"linter": {
"external": {
"command": "/home/de/.bun/bin/bunx",
"arguments": [
"oxlint",
"--format", //de <--- This line and the next made the difference
"json",
"--quiet",
"{buffer_path}"
]
}
},
"formatter": {
"external": {
"command": "/home/de/.bun/bin/bunx",
"arguments": ["prettier", "--stdin-filepath", "{buffer_path}"]
}
// "code_actions": {
// "command": "/home/de/.bun/bin/bunx",
// "arguments": ["oxlint", "--stdin-filepath", "{buffer_path}"]
// }
}
},
}Now, I get this coherent error message: Right there I had forgotten |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Following after installing: https://github.com/zedless-editor/zedless/discussions/40#discussion-8864342
Since downloading is removed ( 🎊 ) we ought to put up light documentation for these:
I noticed a fair number of warnings due to unreferenced variables and the like, which is to be expected in this situation, but can be removed also, which is ticketed separately ( #41 ) as a placeholder.
@max-privatevoid would you please give some examples of what you said here, and how you wired this up: https://github.com/zedless-editor/zedless/issues/39#issuecomment-3265750735
All reactions