Add colorscheme update and add filetype to buffer.

This commit is contained in:
kiyan42
2020-05-17 18:21:03 +02:00
parent 52d1d7e401
commit 020db73532
5 changed files with 80 additions and 48 deletions

View File

@@ -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