dotfiles/modules/common/neovim/lua/settings.lua

19 lines
480 B
Lua
Raw Permalink Normal View History

-- ===========================================================================
-- Settings
-- ===========================================================================
vim.filetype.add({
pattern = {
[".*%.tfvars"] = "terraform",
[".*%.tf"] = "terraform",
2023-07-09 23:22:41 +00:00
[".*%.rasi"] = "rasi",
},
})
vim.api.nvim_create_autocmd("FileType", {
pattern = "*.eml",
callback = function()
vim.o.wrapmargin = 79 -- Wrap text automatically
end,
})