-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.lua
44 lines (43 loc) · 1.4 KB
/
init.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
local folder_icons = require('icons.folder')
local COLORS = require('colors')
return {
diagnostics = {
Error = '',
Warn = '',
Hint = '',
Info = '',
},
git = {
unstaged = 'M',
staged = '➜',
untracked = '?',
},
---@type table<string, FolderIconConfig>
directory = folder_icons,
-- NOTE: only add icon and/or colors to files that do not have one yet
-- TODO: do the same config used for folder icons
-- add these to `nvim-web-devicons` register
file = {
name = {
-- TODO: continue from here
['tsconfig.node.json'] = '', -- color of DevIconTSConfig highlight group
['.eslintrc.js'] = '', -- color of DevIconEslintrc highlight group
['.eslintrc.cjs'] = '',
['.eslintrc.mts'] = '',
['.eslintrc.cts'] = '',
['jsconfig.json'] = '', -- color of DevIconJs highlight group
['astro.config.cjs'] = '', -- color of DevIconAstro highlight groupº
['astro.config.cts'] = '',
['astro.config.js'] = '',
['astro.config.mjs'] = '',
['astro.config.mts'] = '',
['astro.config.ts'] = '',
},
---@type table<string, FileIconConfig>
extension = {
astro = { icon = '', color = COLORS['deep-purple-A200'], name = 'Astro' },
-- TODO: add color to COLORS file: cyan-gray-900
jq = { icon = '', color = '#4D5A5E', name = 'JQ' },
},
},
}