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: vim/vim#13516

8f0fe20ff1

Co-authored-by: Gerrit Meier <meistermeier@gmail.com>
This commit is contained in:
Christian Clason 2023-11-11 14:30:11 +01:00
parent 592e4472da
commit 84688ec372
2 changed files with 2 additions and 0 deletions

View File

@ -333,6 +333,7 @@ local extension = {
pld = 'cupl',
si = 'cuplsim',
cyn = 'cynpp',
cypher = 'cypher',
dart = 'dart',
drt = 'dart',
ds = 'datascript',

View File

@ -176,6 +176,7 @@ func s:GetFilenameChecks() abort
\ 'cvs': ['cvs123'],
\ 'cvsrc': ['.cvsrc'],
\ 'cynpp': ['file.cyn'],
\ 'cypher': ['file.cypher'],
\ 'd': ['file.d'],
\ 'dart': ['file.dart', 'file.drt'],
\ 'datascript': ['file.ds'],