Compare commits

...

2 Commits

2 changed files with 14 additions and 7 deletions

View File

@ -29,13 +29,6 @@ require('lazy').setup({
'sainnhe/gruvbox-material',
priority = 1000,
lazy = false,
-- config = function()
-- vim.g.gruvbox_material_background = 'soft'
-- vim.g.gruvbox_material_better_performance = 1
-- vim.g.gruvbox_material_enable_italic = 1
--
-- vim.cmd.colorscheme 'gruvbox-material'
-- end,
config = function()
vim.o.background = 'dark'
vim.g.gruvbox_material_background = 'light'

View File

@ -13,3 +13,17 @@ vim.api.nvim_create_autocmd('TextYankPost', {
group = highlight_group,
pattern = '*',
})
vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, {
pattern = '*.gitlab-ci*.{yml,yaml}',
callback = function()
vim.bo.filetype = 'yaml.gitlab'
end,
})
vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, {
pattern = vim.fn.expand '~' .. '/.ssh/config.d/*.config',
callback = function()
vim.bo.filetype = 'sshconfig'
end,
})