forked from aniani/vim
patch 9.0.2097: No support for cypher files
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>
This commit is contained in:
committed by
Christian Brabandt
parent
03042a2753
commit
8f0fe20ff1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user