Skip to content

Commit

Permalink
feat: add cypher language server
Browse files Browse the repository at this point in the history
  • Loading branch information
meistermeier committed Nov 9, 2023
1 parent cb49a4c commit 9935c3a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions lua/lspconfig/server_configurations/cypher_ls.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
local util = require 'lspconfig.util'

return {
default_config = {
cmd = { 'cypher-language-server', '--stdio' },
filetypes = { 'cypher' },
root_dir = util.find_git_ancestor,
single_file_support = true
},
docs = {
description = [[
https://github.com/neo4j/cypher-language-support/tree/main/packages/language-server
`cypher-language-server`, language server for Cypher query language.
Part of the umbrella project cypher-language-support: https://github.com/neo4j/cypher-language-support
`cypher-language-server` can be installed via `npm`:
```sh
npm i -g @neo4j-cypher/language-server
```
]],
},
}

0 comments on commit 9935c3a

Please sign in to comment.