Fix syntax highlighting for ruby config files

This commit is contained in:
Tyler Hallada 2023-04-20 11:07:42 -04:00
parent f0faa11c39
commit d9daf57843

View File

@ -90,6 +90,11 @@ vim.api.nvim_create_autocmd('TextYankPost', {
pattern = '*', pattern = '*',
}) })
vim.api.nvim_create_autocmd({'BufNewFile', 'BufRead'}, {
command = 'set filetype=ruby',
pattern = {'Podfile', 'Fastfile', 'Matchfile', 'Pluginfile', 'Appfile', 'Deliverfile'},
})
vim.opt.fillchars:append { diff = "" } vim.opt.fillchars:append { diff = "" }
vim.api.nvim_command([[colorscheme gruvbox]]) vim.api.nvim_command([[colorscheme gruvbox]])