Add colorscheme update and add filetype to buffer.
This commit is contained in:
@@ -30,7 +30,8 @@ local git = require 'lib/git'
|
||||
local refresh_git = git.refresh_git
|
||||
local force_refresh_git = git.force_refresh_git
|
||||
|
||||
require 'lib/colors'.init_colors()
|
||||
local colors = require 'lib/colors'
|
||||
colors.init_colors()
|
||||
|
||||
local M = {}
|
||||
|
||||
@@ -183,4 +184,9 @@ function M.find()
|
||||
|
||||
end
|
||||
|
||||
function M.reset_highlight()
|
||||
colors.init_colors()
|
||||
update_view()
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user