-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add contextive-language-server support
- Loading branch information
1 parent
b085221
commit 470cd7e
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. | ||
]], | ||
}, | ||
} |