Skip to content

Commit

Permalink
patch 9.0.1291: Move language files are not recognized
Browse files Browse the repository at this point in the history
Problem:    Move language files are not recognized.
Solution:   Recognize Move language files. (Amaan Qureshi, closes #11947)
  • Loading branch information
amaanq authored and brammool committed Feb 7, 2023
1 parent af9e28a commit 6642982
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions runtime/filetype.vim
Expand Up @@ -1267,6 +1267,9 @@ au BufNewFile,BufRead *.[mi][3g] setf modula3
" Larch/Modula-3
au BufNewFile,BufRead *.lm3 setf modula3

" Modconf
au BufNewFile,BufRead */etc/modules.conf,*/etc/modules,*/etc/conf.modules setf modconf

" Monk
au BufNewFile,BufRead *.isc,*.monk,*.ssc,*.tsc setf monk

Expand All @@ -1276,8 +1279,8 @@ au BufNewFile,BufRead *.moo setf moo
" Moonscript
au BufNewFile,BufRead *.moon setf moonscript

" Modconf
au BufNewFile,BufRead */etc/modules.conf,*/etc/modules,*/etc/conf.modules setf modconf
" Move language
au BufNewFile,BufRead *.move setf move

" MPD is based on XML
au BufNewFile,BufRead *.mpd setf xml
Expand Down
1 change: 1 addition & 0 deletions src/testdir/test_filetype.vim
Expand Up @@ -380,6 +380,7 @@ let s:filename_checks = {
\ 'monk': ['file.isc', 'file.monk', 'file.ssc', 'file.tsc'],
\ 'moo': ['file.moo'],
\ 'moonscript': ['file.moon'],
\ 'move': ['file.move'],
\ 'mp': ['file.mp', 'file.mpxl', 'file.mpiv', 'file.mpvi'],
\ 'mplayerconf': ['mplayer.conf', '/.mplayer/config', 'any/.mplayer/config'],
\ 'mrxvtrc': ['mrxvtrc', '.mrxvtrc'],
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -695,6 +695,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1291,
/**/
1290,
/**/
Expand Down

0 comments on commit 6642982

Please sign in to comment.