Fix terraform commenting, other small changes

This commit is contained in:
gmcmillan82 2024-08-23 11:00:09 +02:00
parent 20af6881f3
commit 39437ac1df
3 changed files with 10 additions and 2 deletions

View file

@ -1,4 +1,4 @@
return {
'github/copilot.vim',
enabled = false,
enabled = true,
}

View file

@ -17,4 +17,12 @@ return {
end,
},
},
--fix terraform and hcl comment string
vim.api.nvim_create_autocmd('FileType', {
group = vim.api.nvim_create_augroup('FixTerraformCommentString', { clear = true }),
callback = function(ev)
vim.bo[ev.buf].commentstring = '# %s'
end,
pattern = { 'terraform', 'hcl' },
}),
}