mirror of
https://github.com/neovim/neovim.git
synced 2026-04-04 22:59:36 +00:00
vim-patch:9.1.1220: filetype: uv.lock file not recognized (#32955)
Problem: filetype: uv.lock file not recognized
Solution: detect uv.lock file as toml filetype
(Acaibird)
closes: vim/vim#16924
18a6853a76
This commit is contained in:
@@ -1865,11 +1865,12 @@ local filename = {
|
||||
tidyrc = 'tidy',
|
||||
['.tidyrc'] = 'tidy',
|
||||
['.tmux.conf'] = 'tmux',
|
||||
['Cargo.lock'] = 'toml',
|
||||
['/.cargo/config'] = 'toml',
|
||||
['/.cargo/credentials'] = 'toml',
|
||||
Pipfile = 'toml',
|
||||
['Gopkg.lock'] = 'toml',
|
||||
['/.cargo/credentials'] = 'toml',
|
||||
['Cargo.lock'] = 'toml',
|
||||
['uv.lock'] = 'toml',
|
||||
['.black'] = 'toml',
|
||||
black = detect_line1('tool%.black', 'toml', nil),
|
||||
['trustees.conf'] = 'trustees',
|
||||
|
||||
Reference in New Issue
Block a user