summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorGerrit Meier <meistermeier@gmail.com>2023-11-11 08:58:26 +0100
committerChristian Brabandt <cb@256bit.org>2023-11-11 08:58:26 +0100
commit8f0fe20ff1a13b468fdfaf85c434475f75c7a615 (patch)
treef667f3fcb4a0e5d6ad72df27376804ed1f4c9dcc /runtime
parent03042a2753e3e6ac971045a8ce256d709214710e (diff)
patch 9.0.2097: No support for cypher filesv9.0.2097
Problem: No support for cypher files Solution: Add cypher filetype detection Cypher query language support to work with (mostly) graph databases. Already existing lsp support in Neovim's nvim-lspconfig: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#cypher_ls closes: #13516 Signed-off-by: Gerrit Meier <meistermeier@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 0de6171d62..7fb92a2713 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -342,6 +342,9 @@ au BufNewFile,BufRead *.cc
au BufNewFile,BufRead *.cpp
\ if exists("cynlib_syntax_for_cpp")|setf cynlib|else|setf cpp|endif
+" Cypher query language
+au BufNewFile,BufRead *.cypher setf cypher
+
" C++
au BufNewFile,BufRead *.cxx,*.c++,*.hh,*.hxx,*.hpp,*.ipp,*.moc,*.tcc,*.inl setf cpp
if has("fname_case")