Permalink
Browse files

patch 8.0.0906: don't recognize Couchbase files

Problem:    Don't recognize Couchbase files.
Solution:   Add filetype detection. (Eugene Ciurana, closes #1951)
  • Loading branch information...
brammool committed Aug 11, 2017
1 parent 444fda2 commit d9bc8a801aeaffa77d4094d43bf97f0ced3db92b
Showing with 7 additions and 1 deletion.
  1. +4 −1 runtime/filetype.vim
  2. +1 −0 src/testdir/test_filetype.vim
  3. +2 −0 src/version.c
View
@@ -1,7 +1,7 @@
" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2017 Aug 09
" Last Change: 2017 Aug 11
" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
@@ -1342,6 +1342,9 @@ au BufNewFile,BufRead *.mush setf mush
" Mutt setup file (also for Muttng)
au BufNewFile,BufRead Mutt{ng,}rc setf muttrc
" N1QL
au BufRead,BufNewfile *.n1ql,*.nql setf n1ql
" Nano
au BufNewFile,BufRead */etc/nanorc,*.nanorc setf nanorc
@@ -297,6 +297,7 @@ let s:filename_checks = {
\ 'mush': ['file.mush'],
\ 'muttrc': ['Muttngrc', 'Muttrc'],
\ 'mysql': ['file.mysql'],
\ 'n1ql': ['file.n1ql', 'file.nql'],
\ 'named': ['namedfile.conf', 'rndcfile.conf'],
\ 'nanorc': ['/etc/nanorc', 'file.nanorc'],
\ 'ncf': ['file.ncf'],
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
906,
/**/
905,
/**/

0 comments on commit d9bc8a8

Please sign in to comment.