rstfilter 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rstfilter/lsp/handler.rb +8 -4
- data/lib/rstfilter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daa8ebce99a8413104e64add5ee66e5f613c0e658b3f3beba239fc2f947e6213
|
4
|
+
data.tar.gz: 11a2afb17c240bb8d953b7111501d18f460da7442b6479679363a62ea33bba66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c22b014632dbc34fdb7bca057294615af8713c56fafb8cc10121f8bf70dc6a802691f8b4aa79600430dc876fd22869980a444453e485665a4b1c12909478f93
|
7
|
+
data.tar.gz: 8af43aa24f7ef98ac513433704a8c6c22b3bea03d051adab744ba0342efed7c3af16c4a0e07b63bdf395d12fa4cfc290ccc7170b747a4be8757045d71e4fb1d2
|
@@ -131,7 +131,7 @@ module RstFilter
|
|
131
131
|
textDocumentSync: {
|
132
132
|
openClose: true,
|
133
133
|
change: 2, # Incremental
|
134
|
-
save: true,
|
134
|
+
# save: true,
|
135
135
|
},
|
136
136
|
|
137
137
|
inlineValueProvider: true,
|
@@ -238,7 +238,7 @@ module RstFilter
|
|
238
238
|
end
|
239
239
|
|
240
240
|
def take_record filename
|
241
|
-
send_notice 'rstfilter/
|
241
|
+
send_notice 'rstfilter/started', {
|
242
242
|
uri: filename,
|
243
243
|
}
|
244
244
|
@running[filename] = Thread.new do
|
@@ -290,12 +290,16 @@ module RstFilter
|
|
290
290
|
}
|
291
291
|
when 'textDocument/didOpen',
|
292
292
|
'textDocument/didSave'
|
293
|
-
filename = uri2filename req.dig(:params, :textDocument, :uri)
|
294
|
-
take_record filename
|
293
|
+
#filename = uri2filename req.dig(:params, :textDocument, :uri)
|
294
|
+
#take_record filename
|
295
|
+
# do nothing
|
295
296
|
when 'textDocument/didClose',
|
296
297
|
'textDocument/didChange'
|
297
298
|
filename = uri2filename req.dig(:params, :textDocument, :uri)
|
298
299
|
clear_record filename
|
300
|
+
when 'rstfilter/start'
|
301
|
+
filename = req.dig(:params, :path)
|
302
|
+
take_record filename
|
299
303
|
when '$/cancelRequest'
|
300
304
|
# ignore
|
301
305
|
when 'exit'
|
data/lib/rstfilter/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rstfilter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Koichi Sasada
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parser
|