Restore filetype setting

This commit is contained in:
hrsh7th
2022-08-20 19:21:22 +09:00
parent 1307917fff
commit 9417f48a99
3 changed files with 16 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ docs_view.new = function()
self.window:option('linebreak', true)
self.window:option('scrolloff', 0)
self.window:option('wrap', true)
self.window:buffer_option('filetype', 'cmp_docs')
return self
end