Add rule for docker compose lsp
This commit is contained in:
parent
d4ea42bc71
commit
d7101c6952
5
init.lua
5
init.lua
|
|
@ -55,7 +55,10 @@ vim.api.nvim_create_autocmd({ 'BufEnter', 'BufNewFile' }, {
|
||||||
pattern = '*service*.yml',
|
pattern = '*service*.yml',
|
||||||
command = 'set filetype=yaml.ansible',
|
command = 'set filetype=yaml.ansible',
|
||||||
})
|
})
|
||||||
|
vim.api.nvim_create_autocmd({ 'BufEnter', 'BufNewFile' }, {
|
||||||
|
pattern = '*compose*.yml',
|
||||||
|
command = 'set filetype=yaml.docker-compose',
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
-- LSP Configuration
|
-- LSP Configuration
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue