Skip to content

Commit 84688ec

Browse files
clasonmeistermeier
andcommitted
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 vim/vim@8f0fe20 Co-authored-by: Gerrit Meier <meistermeier@gmail.com>
1 parent 592e447 commit 84688ec

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎runtime/lua/vim/filetype.lua‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ local extension = {
333333
pld = 'cupl',
334334
si = 'cuplsim',
335335
cyn = 'cynpp',
336+
cypher = 'cypher',
336337
dart = 'dart',
337338
drt = 'dart',
338339
ds = 'datascript',

‎test/old/testdir/test_filetype.vim‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ func s:GetFilenameChecks() abort
176176
\ 'cvs': ['cvs123'],
177177
\ 'cvsrc': ['.cvsrc'],
178178
\ 'cynpp': ['file.cyn'],
179+
\ 'cypher': ['file.cypher'],
179180
\ 'd': ['file.d'],
180181
\ 'dart': ['file.dart', 'file.drt'],
181182
\ 'datascript': ['file.ds'],

0 commit comments

Comments
 (0)