qlue-ls 0.1.18 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -28,8 +28,8 @@ pipx install qlue-ls
28
28
  You can also build it from source:
29
29
 
30
30
  ```shell
31
- git clone https://github.com/IoannisNezis/sparql-language-server.git
32
- cd sparql-language-server
31
+ git clone https://github.com/IoannisNezis/Qlue-ls.git
32
+ cd Qlue-ls
33
33
  cargo build --release --bin qlue-ls
34
34
  ```
35
35
 
@@ -55,7 +55,7 @@ After you installed the language server, add this to your `init.lua`:
55
55
 
56
56
  ```lua
57
57
  vim.api.nvim_create_autocmd({ 'FileType' }, {
58
- desc = 'Connect to sparql-language-server',
58
+ desc = 'Connect to qlue-ls',
59
59
  pattern = { 'sparql' },
60
60
  callback = function()
61
61
  vim.lsp.start {
@@ -129,13 +129,13 @@ qlue-ls can be configured through a `qlue-ls.toml` or `qlue-ls.yml` file.
129
129
  Here is the full default configuration
130
130
  ```toml
131
131
  [format]
132
- align_predicates = false
132
+ align_predicates = true
133
133
  align_prefixes = false
134
- separate_prolouge = true
134
+ separate_prolouge = false
135
135
  capitalize_keywords = true
136
136
  insert_spaces = true
137
137
  tab_size = 2
138
- where_new_line = true
138
+ where_new_line = false
139
139
  ```
140
140
 
141
141
  # use in web
@@ -145,12 +145,15 @@ For this purpouse this can be compiled to wasm and is availible on [npm](https:/
145
145
 
146
146
 
147
147
  ```shell
148
- npm i @ioannisnezis/sparql-language-server
148
+ npm i qlue-ls
149
149
  ```
150
150
 
151
151
  You will have to wrap this in a Web Worker and provide a language server client.
152
152
  There will be more documentation on this in the future...
153
153
 
154
- ## Demo
154
+ # Special Thanks
155
+
156
+ * [TJ DeVries](https://github.com/tjdevries) for the inspiration and great tutorials
157
+ * [Chris Biscardi](https://github.com/christopherbiscardi) for teaching me Rust
158
+ * [GordianDziwis](https://github.com/GordianDziwis) for providing a sparql-tree-sitter grammar
155
159
 
156
- In the mean time, check out the [demo](https://sparql.nezis.de).
package/package.json CHANGED
@@ -5,8 +5,8 @@
5
5
  "Ioannis Nezis <ioannis@nezis.de>"
6
6
  ],
7
7
  "description": "A formatter for SPARQL queries",
8
- "version": "0.1.18",
9
- "license": "MIT",
8
+ "version": "0.2.0",
9
+ "license": "SEE LICENSE IN LICENSE",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "https://github.com/IoannisNezis/qlue-ls"
package/qlue_ls_bg.js CHANGED
@@ -169,11 +169,11 @@ export function format_raw(text) {
169
169
  }
170
170
 
171
171
  function __wbg_adapter_22(arg0, arg1, arg2) {
172
- wasm.closure520_externref_shim(arg0, arg1, arg2);
172
+ wasm.closure234_externref_shim(arg0, arg1, arg2);
173
173
  }
174
174
 
175
175
  function __wbg_adapter_52(arg0, arg1, arg2, arg3) {
176
- wasm.closure537_externref_shim(arg0, arg1, arg2, arg3);
176
+ wasm.closure247_externref_shim(arg0, arg1, arg2, arg3);
177
177
  }
178
178
 
179
179
  const ServerFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -344,8 +344,8 @@ export function __wbindgen_cb_drop(arg0) {
344
344
  return ret;
345
345
  };
346
346
 
347
- export function __wbindgen_closure_wrapper2510(arg0, arg1, arg2) {
348
- const ret = makeMutClosure(arg0, arg1, 521, __wbg_adapter_22);
347
+ export function __wbindgen_closure_wrapper997(arg0, arg1, arg2) {
348
+ const ret = makeMutClosure(arg0, arg1, 235, __wbg_adapter_22);
349
349
  return ret;
350
350
  };
351
351
 
package/qlue_ls_bg.wasm CHANGED
Binary file