mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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
|
au BufNewFile,BufRead *.cpp
|
||||||
\ if exists("cynlib_syntax_for_cpp")|setf cynlib|else|setf cpp|endif
|
\ if exists("cynlib_syntax_for_cpp")|setf cynlib|else|setf cpp|endif
|
||||||
|
|
||||||
|
" Cypher query language
|
||||||
|
au BufNewFile,BufRead *.cypher setf cypher
|
||||||
|
|
||||||
" C++
|
" C++
|
||||||
au BufNewFile,BufRead *.cxx,*.c++,*.hh,*.hxx,*.hpp,*.ipp,*.moc,*.tcc,*.inl setf cpp
|
au BufNewFile,BufRead *.cxx,*.c++,*.hh,*.hxx,*.hpp,*.ipp,*.moc,*.tcc,*.inl setf cpp
|
||||||
if has("fname_case")
|
if has("fname_case")
|
||||||
|
@@ -186,6 +186,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
cvs: ['cvs123'],
|
cvs: ['cvs123'],
|
||||||
cvsrc: ['.cvsrc'],
|
cvsrc: ['.cvsrc'],
|
||||||
cynpp: ['file.cyn'],
|
cynpp: ['file.cyn'],
|
||||||
|
cypher: ['file.cypher'],
|
||||||
d: ['file.d'],
|
d: ['file.d'],
|
||||||
dart: ['file.dart', 'file.drt'],
|
dart: ['file.dart', 'file.drt'],
|
||||||
datascript: ['file.ds'],
|
datascript: ['file.ds'],
|
||||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2097,
|
||||||
/**/
|
/**/
|
||||||
2096,
|
2096,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user