dotfiles/modules/neovim/lua/settings.lua

18 lines
437 B
Lua
Raw Normal View History

2022-05-07 21:31:19 +00:00
-- ===========================================================================
-- Settings
-- ===========================================================================
2022-11-20 18:51:46 +00:00
vim.filetype.add({
pattern = {
[".*%.tfvars"] = "hcl",
[".*%.tf"] = "hcl",
2022-11-20 18:51:46 +00:00
},
})
2022-11-28 02:11:41 +00:00
2022-10-30 17:57:14 +00:00
vim.api.nvim_create_autocmd("FileType", {
pattern = "*.eml",
callback = function()
vim.o.wrapmargin = 79 -- Wrap text automatically
end,
})