Restore filetype setting
This commit is contained in:
@@ -37,6 +37,7 @@ custom_entries_view.new = function()
|
||||
-- always rendered one column wide, which removes the unpredictability coming
|
||||
-- from variable width of the tab character.
|
||||
self.entries_win:buffer_option('tabstop', 1)
|
||||
self.entries_win:buffer_option('filetype', 'cmp_menu')
|
||||
self.event = event.new()
|
||||
self.offset = -1
|
||||
self.active = false
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user