aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorErik Kinnunen <erik.kinn@gmail.com>2023-11-12 03:22:12 +0200
committerGitHub <noreply@github.com>2023-11-12 09:22:12 +0800
commitf95a3c5b3615ad782d67eab41cda6b8bd1fe003d (patch)
tree7d17d50ef3991517e2b8059f90412684b824dc89 /lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-f95a3c5b3615ad782d67eab41cda6b8bd1fe003d.tar
nvim-lspconfig-f95a3c5b3615ad782d67eab41cda6b8bd1fe003d.tar.gz
nvim-lspconfig-f95a3c5b3615ad782d67eab41cda6b8bd1fe003d.tar.bz2
nvim-lspconfig-f95a3c5b3615ad782d67eab41cda6b8bd1fe003d.tar.lz
nvim-lspconfig-f95a3c5b3615ad782d67eab41cda6b8bd1fe003d.tar.xz
nvim-lspconfig-f95a3c5b3615ad782d67eab41cda6b8bd1fe003d.tar.zst
nvim-lspconfig-f95a3c5b3615ad782d67eab41cda6b8bd1fe003d.zip
feat: add contextive-language-server support (#2888)
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/contextive.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/contextive.lua b/lua/lspconfig/server_configurations/contextive.lua
new file mode 100644
index 00000000..b05309d8
--- /dev/null
+++ b/lua/lspconfig/server_configurations/contextive.lua
@@ -0,0 +1,21 @@
+local util = require 'lspconfig.util'
+
+return {
+ default_config = {
+ cmd = { 'Contextive.LanguageServer' },
+ root_dir = util.root_pattern('.contextive', '.git'),
+ },
+ docs = {
+ description = [[
+https://github.com/dev-cycles/contextive
+
+Language Server for Contextive.
+
+Contextive allows you to define terms in a central file and provides auto-completion suggestions and hover panels for these terms wherever they're used.
+
+To install the language server, you need to download the appropriate [GitHub release asset](https://github.com/dev-cycles/contextive/releases/) for your operating system and architecture.
+
+After the download unzip the Contextive.LanguageServer binary and copy the file into a folder that is included in your system's PATH.
+]],
+ },
+}