From 4d43fbd017e4c8aecbf141e5692ac81e8e9a58b8 Mon Sep 17 00:00:00 2001 From: kiyan42 Date: Fri, 21 Feb 2020 08:51:36 +0100 Subject: [PATCH] change folder color and lua icon color --- README.md | 1 + lua/lib/colors.lua | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 22b0211b..4444965a 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ nnoremap n :LuaTreeRefresh ## TODO - use libuv functions instead of `touch` and `mkdir` in `create_file()` and allow file creation with path like `foo/bar/baz` +- create highlight function to give the user ability to setup colors themselves - cd command to move faster accross the fs if needed - quickly find file in the directory structure - html docs diff --git a/lua/lib/colors.lua b/lua/lib/colors.lua index 242bf2f8..806d6a14 100644 --- a/lua/lib/colors.lua +++ b/lua/lib/colors.lua @@ -17,13 +17,12 @@ local colors = { cyan = get('terminal_color_6', 'Cyan'), orange = get('terminal_color_11', 'Orange'), dark_red = get('terminal_color_9', 'DarkRed'), - lua = '#2947b1' } local HIGHLIGHTS = { Symlink = { gui = 'bold', fg = colors.cyan }, FolderName = { gui = 'bold', fg = colors.blue }, - FolderIcon = { fg = colors.orange }, + FolderIcon = { fg = '#90a4ae' }, ExecFile = { gui = 'bold', fg = colors.green }, SpecialFile = { gui = 'bold,underline', fg = colors.yellow }, @@ -35,7 +34,7 @@ local HIGHLIGHTS = { GitignoreFile = { fg = colors.yellow }, JsonFile = { fg = colors.yellow }, - LuaFile = { fg = colors.lua }, + LuaFile = { fg = '#42a5f5' }, PythonFile = { fg = colors.green }, ShellFile = { fg = colors.green }, JavascriptFile = { fg = colors.yellow },