summaryrefslogtreecommitdiffstats
path: root/.config/nvim/init.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/init.lua')
-rw-r--r--.config/nvim/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index ba9e15e..47f9091 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -38,6 +38,9 @@ vim.opt.number = true
-- Don't show the mode, since it's already in the status line
vim.opt.showmode = false
+vim.cmd([[autocmd FileType markdown set tw=72 wrap]])
+vim.cmd([[autocmd FileType text set tw=72 wrap]])
+
-- Sync clipboard between OS and Neovim.
-- Schedule the setting after `UiEnter` because it can increase startup-time.
-- Remove this option if you want your OS clipboard to remain independent.