mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
vim: don't use scrolloff/sidesscrolloff in notmuch buffers
This commit is contained in:
parent
329f95eb77
commit
4c9ddb9ac1
1 changed files with 2 additions and 0 deletions
|
@ -791,6 +791,8 @@ function! s:NM_newBuffer(type, content)
|
||||||
silent put=a:content
|
silent put=a:content
|
||||||
keepjumps 0d
|
keepjumps 0d
|
||||||
setlocal nomodifiable
|
setlocal nomodifiable
|
||||||
|
set scrolloff=0
|
||||||
|
set sidescrolloff=0
|
||||||
execute printf('set filetype=notmuch-%s', a:type)
|
execute printf('set filetype=notmuch-%s', a:type)
|
||||||
execute printf('set syntax=notmuch-%s', a:type)
|
execute printf('set syntax=notmuch-%s', a:type)
|
||||||
let b:nm_type = a:type
|
let b:nm_type = a:type
|
||||||
|
|
Loading…
Reference in a new issue