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

19 lines
467 B
Lua
Raw Normal View History

-- ===========================================================================
-- Settings
-- ===========================================================================
vim.filetype.add({
pattern = {
[".*%.tfvars"] = "hcl",
[".*%.tf"] = "hcl",
2023-06-02 02:55:05 +00:00
[".*%.rasi"] = "css",
},
})
vim.api.nvim_create_autocmd("FileType", {
pattern = "*.eml",
callback = function()
vim.o.wrapmargin = 79 -- Wrap text automatically
end,
})