Implement user's config as init file and add directory into package.path
Create the user's config init file if lite user's config directory does not exists. No longer use the awkward package.searchers but instead add user's config dir at the end of package path.
This commit is contained in:
1 parent
3589d7d3c0
commit
a337f893d9
7 files changed
+84
-29
No files matched your search
@@ -0,0 +1,28 @@
|
||||
local style = require "core.style"
|
||||
local common = require "core.common"
|
||||
|
||||
style.background = { common.color "#343233" }
|
||||
style.background2 = { common.color "#2c2a2b" }
|
||||
style.background3 = { common.color "#2c2a2b" }
|
||||
style.text = { common.color "#c4b398" }
|
||||
style.caret = { common.color "#61efce" }
|
||||
style.accent = { common.color "#ffd152" }
|
||||
style.dim = { common.color "#615d5f" }
|
||||
style.divider = { common.color "#242223" }
|
||||
style.selection = { common.color "#454244" }
|
||||
style.line_number = { common.color "#454244" }
|
||||
style.line_number2 = { common.color "#615d5f" }
|
||||
style.line_highlight = { common.color "#383637" }
|
||||
style.scrollbar = { common.color "#454344" }
|
||||
style.scrollbar2 = { common.color "#524F50" }
|
||||
|
||||
style.syntax["normal"] = { common.color "#efdab9" }
|
||||
style.syntax["symbol"] = { common.color "#efdab9" }
|
||||
style.syntax["comment"] = { common.color "#615d5f" }
|
||||
style.syntax["keyword"] = { common.color "#d36e2d" }
|
||||
style.syntax["keyword2"] = { common.color "#ef6179" }
|
||||
style.syntax["number"] = { common.color "#ffd152" }
|
||||
style.syntax["literal"] = { common.color "#ffd152" }
|
||||
style.syntax["string"] = { common.color "#ffd152" }
|
||||
style.syntax["operator"] = { common.color "#efdab9" }
|
||||
style.syntax["function"] = { common.color "#61efce" }
|
||||
Reference in new issue
Block a user