aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-lsp-installer/_generated/filetype_map.lua2
-rw-r--r--lua/nvim-lsp-installer/_generated/language_autocomplete_map.lua2
-rw-r--r--lua/nvim-lsp-installer/_generated/metadata.lua3
-rw-r--r--lua/nvim-lsp-installer/_generated/schemas/zeta_note.lua3
-rw-r--r--lua/nvim-lsp-installer/servers/init.lua1
-rw-r--r--lua/nvim-lsp-installer/servers/zeta_note/init.lua40
6 files changed, 49 insertions, 2 deletions
diff --git a/lua/nvim-lsp-installer/_generated/filetype_map.lua b/lua/nvim-lsp-installer/_generated/filetype_map.lua
index a133784e..eb8ad20d 100644
--- a/lua/nvim-lsp-installer/_generated/filetype_map.lua
+++ b/lua/nvim-lsp-installer/_generated/filetype_map.lua
@@ -70,7 +70,7 @@ return {
liquid = { "tailwindcss" },
llw = { "lelwel_ls" },
lua = { "sumneko_lua" },
- markdown = { "grammarly", "ltex", "remark_ls", "tailwindcss", "zk" },
+ markdown = { "grammarly", "ltex", "remark_ls", "tailwindcss", "zeta_note", "zk" },
mdx = { "tailwindcss" },
mustache = { "tailwindcss" },
mysql = { "sqlls", "sqls" },
diff --git a/lua/nvim-lsp-installer/_generated/language_autocomplete_map.lua b/lua/nvim-lsp-installer/_generated/language_autocomplete_map.lua
index 4a7ca615..5bfaa9d1 100644
--- a/lua/nvim-lsp-installer/_generated/language_autocomplete_map.lua
+++ b/lua/nvim-lsp-installer/_generated/language_autocomplete_map.lua
@@ -19,7 +19,7 @@ return {
javascript = { "eslint", "quick_lint_js", "rome", "tsserver" },
latex = { "ltex", "texlab" },
lua = { "sumneko_lua" },
- markdown = { "remark_ls", "zk" },
+ markdown = { "remark_ls", "zeta_note", "zk" },
nix = { "rnix" },
["objective-c"] = { "ccls" },
onescript = { "bsl_ls" },
diff --git a/lua/nvim-lsp-installer/_generated/metadata.lua b/lua/nvim-lsp-installer/_generated/metadata.lua
index 280bb871..4c12d7dd 100644
--- a/lua/nvim-lsp-installer/_generated/metadata.lua
+++ b/lua/nvim-lsp-installer/_generated/metadata.lua
@@ -286,6 +286,9 @@ return {
yamlls = {
filetypes = { "yaml", "yaml.docker-compose" }
},
+ zeta_note = {
+ filetypes = { "markdown" }
+ },
zk = {
filetypes = { "markdown" }
},
diff --git a/lua/nvim-lsp-installer/_generated/schemas/zeta_note.lua b/lua/nvim-lsp-installer/_generated/schemas/zeta_note.lua
new file mode 100644
index 00000000..d1e1ab2f
--- /dev/null
+++ b/lua/nvim-lsp-installer/_generated/schemas/zeta_note.lua
@@ -0,0 +1,3 @@
+-- THIS FILE IS GENERATED. DO NOT EDIT MANUALLY.
+-- stylua: ignore start
+return {properties = {["zetaNote.customCommand"] = {description = "When set use this command to run the language server.\nThe command is split on spaces: first part is the command name, the rest is the arguments.",scope = "window",type = "string"},["zetaNote.customCommandDir"] = {markdownDescription = "When set run the `#zetaNote.customCommand#` from this dir rather than workspace root.",scope = "window",type = "string"},["zetaNote.trace.server"] = {default = "verbose",description = "Level of verbosity in communicating with the server",enum = { "off", "messages", "verbose" },scope = "window",type = "string"}},title = "Zeta Note"} \ No newline at end of file
diff --git a/lua/nvim-lsp-installer/servers/init.lua b/lua/nvim-lsp-installer/servers/init.lua
index 884d32f0..fda0c03a 100644
--- a/lua/nvim-lsp-installer/servers/init.lua
+++ b/lua/nvim-lsp-installer/servers/init.lua
@@ -126,6 +126,7 @@ local CORE_SERVERS = Data.set_of {
"volar",
"vuels",
"yamlls",
+ "zeta_note",
"zk",
"zls",
}
diff --git a/lua/nvim-lsp-installer/servers/zeta_note/init.lua b/lua/nvim-lsp-installer/servers/zeta_note/init.lua
new file mode 100644
index 00000000..01ef807a
--- /dev/null
+++ b/lua/nvim-lsp-installer/servers/zeta_note/init.lua
@@ -0,0 +1,40 @@
+local server = require "nvim-lsp-installer.server"
+local process = require "nvim-lsp-installer.process"
+local platform = require "nvim-lsp-installer.platform"
+local std = require "nvim-lsp-installer.installers.std"
+local context = require "nvim-lsp-installer.installers.context"
+local Data = require "nvim-lsp-installer.data"
+
+local coalesce, when = Data.coalesce, Data.when
+
+return function(name, root_dir)
+ return server.Server:new {
+ name = name,
+ root_dir = root_dir,
+ homepage = "https://github.com/artempyanykh/zeta-note",
+ languages = { "markdown" },
+ installer = {
+ context.use_github_release_file(
+ "artempyanykh/zeta-note",
+ coalesce(
+ when(platform.is_mac, "zeta-note-macos"),
+ when(platform.is_linux and platform.arch == "x64", "zeta-note-linux"),
+ when(platform.is_win and platform.arch == "x64", "zeta-note-windows.exe")
+ )
+ ),
+ context.capture(function(ctx)
+ return std.download_file(ctx.github_release_file, platform.is_win and "zeta-note.exe" or "zeta-note")
+ end),
+ std.chmod("+x", { "zeta-note" }),
+ context.receipt(function(receipt, ctx)
+ receipt:with_primary_source(receipt.github_release_file(ctx))
+ end),
+ },
+ default_options = {
+ cmd = { "zeta-note" },
+ cmd_env = {
+ PATH = process.extend_path { root_dir },
+ },
+ },
+ }
+end