mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.1346: Starlark files are not recognized (#22380)
Problem: Starlark files are not recognized.
Solution: Add patterns for Starlark files. (Amaan Qureshi, closes vim/vim#12049)
ca06b30073
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
This commit is contained in:
parent
75e53341f3
commit
8c339aa04b
@ -995,6 +995,9 @@ local extension = {
|
||||
ssa = 'ssa',
|
||||
ass = 'ssa',
|
||||
st = 'st',
|
||||
ipd = 'starlark',
|
||||
star = 'starlark',
|
||||
starlark = 'starlark',
|
||||
imata = 'stata',
|
||||
['do'] = 'stata',
|
||||
mata = 'stata',
|
||||
|
@ -560,6 +560,7 @@ let s:filename_checks = {
|
||||
\ 'sshconfig': ['ssh_config', '/.ssh/config', '/etc/ssh/ssh_config.d/file.conf', 'any/etc/ssh/ssh_config.d/file.conf', 'any/.ssh/config', 'any/.ssh/file.conf'],
|
||||
\ 'sshdconfig': ['sshd_config', '/etc/ssh/sshd_config.d/file.conf', 'any/etc/ssh/sshd_config.d/file.conf'],
|
||||
\ 'st': ['file.st'],
|
||||
\ 'starlark': ['file.ipd', 'file.star', 'file.starlark'],
|
||||
\ 'stata': ['file.ado', 'file.do', 'file.imata', 'file.mata'],
|
||||
\ 'stp': ['file.stp'],
|
||||
\ 'sudoers': ['any/etc/sudoers', 'sudoers.tmp', '/etc/sudoers', 'any/etc/sudoers.d/file'],
|
||||
|
Loading…
Reference in New Issue
Block a user