miniscript-languageserver 1.9.4 → 1.9.6
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 +2 -2
- package/index.js +58 -55
- package/package.json +5 -5
package/README.md
CHANGED
@@ -186,7 +186,7 @@ lua <<EOF
|
|
186
186
|
configs.miniscript = {
|
187
187
|
default_config = {
|
188
188
|
cmd = { "miniscript-languageserver", "--stdio" },
|
189
|
-
filetypes = { "
|
189
|
+
filetypes = { "miniscript" },
|
190
190
|
root_dir = lspconfig.util.root_pattern(".git", vim.fn.getcwd()),
|
191
191
|
settings = {},
|
192
192
|
on_attach = function(client, bufnr) -- Optional on_attach function
|
@@ -201,7 +201,7 @@ lua <<EOF
|
|
201
201
|
lspconfig.miniscript.setup{}
|
202
202
|
EOF
|
203
203
|
|
204
|
-
autocmd BufRead,BufNewFile *.src set filetype=
|
204
|
+
autocmd BufRead,BufNewFile *.src set filetype=miniscript
|
205
205
|
```
|
206
206
|
2. Don't forget to run :PlugInstall to install the necessary plugins.
|
207
207
|
|