Add buftype=nofile for entries_win and docs_win

- reddit user mention this...
This commit is contained in:
hrsh7th
2023-05-04 19:35:24 +09:00
parent 8d2f190506
commit 0f47dcaf7e
2 changed files with 2 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ docs_view.new = function()
self.window:option('showbreak', 'NONE')
self.window:option('wrap', true)
self.window:buffer_option('filetype', 'cmp_docs')
self.window:buffer_option('buftype', 'nofile')
return self
end