diff options
Diffstat (limited to 'home/.config/nvim/after/ftplugin/tex.lua')
-rw-r--r-- | home/.config/nvim/after/ftplugin/tex.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/home/.config/nvim/after/ftplugin/tex.lua b/home/.config/nvim/after/ftplugin/tex.lua new file mode 100644 index 0000000..b1dbce0 --- /dev/null +++ b/home/.config/nvim/after/ftplugin/tex.lua @@ -0,0 +1,4 @@ +vim.wo.spell = true +vim.bo.formatoptions = vim.bo.formatoptions .. "t" +vim.b.undo_ftplugin = vim.b.undo_ftplugin + .. "|setlocal spell< |setlocal formatoptions<" |