Make onViewOpen and onBufferOpen the same

Ref #948
This commit is contained in:
Zachary Yedidia
2018-01-22 15:27:56 -05:00
parent 63299df4b9
commit 4f41881c10
3 changed files with 4 additions and 5 deletions

View File

@@ -45,8 +45,6 @@ view is passed in. This is useful for setting local options based on the
filetype, for example turning off `tabstospaces` only for Go files when they are
opened.
Similar to `onViewOpen(view)` there is also `onBufferOpen(buf)`.
---
There are a number of functions and variables that are available to you in order