mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 19:15:37 +00:00
19 lines
480 B
Lua
19 lines
480 B
Lua
-- ===========================================================================
|
|
-- Settings
|
|
-- ===========================================================================
|
|
|
|
vim.filetype.add({
|
|
pattern = {
|
|
[".*%.tfvars"] = "terraform",
|
|
[".*%.tf"] = "terraform",
|
|
[".*%.rasi"] = "rasi",
|
|
},
|
|
})
|
|
|
|
vim.api.nvim_create_autocmd("FileType", {
|
|
pattern = "*.eml",
|
|
callback = function()
|
|
vim.o.wrapmargin = 79 -- Wrap text automatically
|
|
end,
|
|
})
|