mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-26 11:24:53 +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
|
||||
keepjumps 0d
|
||||
setlocal nomodifiable
|
||||
set scrolloff=0
|
||||
set sidescrolloff=0
|
||||
execute printf('set filetype=notmuch-%s', a:type)
|
||||
execute printf('set syntax=notmuch-%s', a:type)
|
||||
let b:nm_type = a:type
|
||||
|
|
Loading…
Reference in a new issue