vim-patch:9.0.1430: Livebook files are not recognized (#22808)

Problem:    Livebook files are not recognized.
Solution:   Add a pattern for Livebook files. (Mathias Jean Johansen,
            closes vim/vim#12203)

6400203517

Co-authored-by: Mathias Jean Johansen <mathias@mjj.io>
This commit is contained in:
Christian Clason
2023-03-29 10:23:52 +02:00
committed by GitHub
parent b7748662ed
commit 196f69909d
2 changed files with 2 additions and 0 deletions

View File

@@ -615,6 +615,7 @@ local extension = {
asd = 'lisp',
lt = 'lite',
lite = 'lite',
livemd = 'livebook',
lgt = 'logtalk',
lotos = 'lotos',
lot = 'lotos',

View File

@@ -338,6 +338,7 @@ let s:filename_checks = {
\ 'lite': ['file.lite', 'file.lt'],
\ 'litestep': ['/LiteStep/any/file.rc', 'any/LiteStep/any/file.rc'],
\ 'logcheck': ['/etc/logcheck/file.d-some/file', '/etc/logcheck/file.d/file', 'any/etc/logcheck/file.d-some/file', 'any/etc/logcheck/file.d/file'],
\ 'livebook': ['file.livemd'],
\ 'loginaccess': ['/etc/login.access', 'any/etc/login.access'],
\ 'logindefs': ['/etc/login.defs', 'any/etc/login.defs'],
\ 'logtalk': ['file.lgt'],