mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-05-19 13:30:17 +00:00
languages/docker: use command instead of callback in autocmd
This commit is contained in:
parent
56ea692895
commit
244ab53987
1 changed files with 1 additions and 4 deletions
|
|
@ -12,7 +12,6 @@
|
|||
inherit (lib.types) enum listOf;
|
||||
inherit (lib.nvim.types) mkGrammarOption diagnostics;
|
||||
inherit (lib.nvim.attrsets) mapListToAttrs;
|
||||
inherit (lib.generators) mkLuaInline;
|
||||
|
||||
cfg = config.vim.languages.docker;
|
||||
|
||||
|
|
@ -109,9 +108,7 @@ in {
|
|||
"docker-compose.yml"
|
||||
"docker-compose.yaml"
|
||||
];
|
||||
callback = mkLuaInline ''
|
||||
vim.bo.filetype = "dockercompose"
|
||||
'';
|
||||
command = "set filetype=dockercompose";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue