1
0
mirror of https://github.com/kmein/niveum synced 2026-03-19 19:41:08 +01:00

fix(vim): disable hard wrap in email

This commit is contained in:
Kierán Meinhardt
2020-05-31 18:25:57 +02:00
parent 405d6d8407
commit 884e50b8cd

View File

@@ -53,7 +53,7 @@ set mouse=a
set showmatch set showmatch
set encoding=utf8 ffs=unix,dos,mac set encoding=utf8 ffs=unix,dos,mac
set smartindent set smartindent
set nowrap set wrap
set nohlsearch set nohlsearch
set clipboard=unnamedplus set clipboard=unnamedplus
set nopaste set nopaste
@@ -138,7 +138,7 @@ if has("autocmd")
autocmd filetype make setlocal noexpandtab autocmd filetype make setlocal noexpandtab
autocmd filetype html packadd emmet-vim autocmd filetype html packadd emmet-vim
autocmd filetype gitcommit setlocal spell spelllang=en autocmd filetype gitcommit setlocal spell spelllang=en
autocmd filetype mail setlocal spell spelllang=de autocmd filetype mail setlocal spell spelllang=de textwidth=0
autocmd bufreadpost * autocmd bufreadpost *
\ if line("'\"") > 0 && line("'\"") <= line("$") | \ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal! g`\"" | \ exe "normal! g`\"" |