change folder color and lua icon color

This commit is contained in:
kiyan42
2020-02-21 08:51:36 +01:00
parent 9eec60fcfc
commit 4d43fbd017
2 changed files with 3 additions and 3 deletions

View File

@@ -54,6 +54,7 @@ nnoremap <leader>n :LuaTreeRefresh<CR>
## TODO ## TODO
- use libuv functions instead of `touch` and `mkdir` in `create_file()` and allow file creation with path like `foo/bar/baz` - 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 - cd command to move faster accross the fs if needed
- quickly find file in the directory structure - quickly find file in the directory structure
- html docs - html docs

View File

@@ -17,13 +17,12 @@ local colors = {
cyan = get('terminal_color_6', 'Cyan'), cyan = get('terminal_color_6', 'Cyan'),
orange = get('terminal_color_11', 'Orange'), orange = get('terminal_color_11', 'Orange'),
dark_red = get('terminal_color_9', 'DarkRed'), dark_red = get('terminal_color_9', 'DarkRed'),
lua = '#2947b1'
} }
local HIGHLIGHTS = { local HIGHLIGHTS = {
Symlink = { gui = 'bold', fg = colors.cyan }, Symlink = { gui = 'bold', fg = colors.cyan },
FolderName = { gui = 'bold', fg = colors.blue }, FolderName = { gui = 'bold', fg = colors.blue },
FolderIcon = { fg = colors.orange }, FolderIcon = { fg = '#90a4ae' },
ExecFile = { gui = 'bold', fg = colors.green }, ExecFile = { gui = 'bold', fg = colors.green },
SpecialFile = { gui = 'bold,underline', fg = colors.yellow }, SpecialFile = { gui = 'bold,underline', fg = colors.yellow },
@@ -35,7 +34,7 @@ local HIGHLIGHTS = {
GitignoreFile = { fg = colors.yellow }, GitignoreFile = { fg = colors.yellow },
JsonFile = { fg = colors.yellow }, JsonFile = { fg = colors.yellow },
LuaFile = { fg = colors.lua }, LuaFile = { fg = '#42a5f5' },
PythonFile = { fg = colors.green }, PythonFile = { fg = colors.green },
ShellFile = { fg = colors.green }, ShellFile = { fg = colors.green },
JavascriptFile = { fg = colors.yellow }, JavascriptFile = { fg = colors.yellow },