summaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/theme.lua
diff options
context:
space:
mode:
author2025-05-13 10:07:17 +0300
committer2025-05-13 10:07:17 +0300
commite9a2f811b7d030cb8701bd8459fd5c842a521eff (patch)
tree2c59e183408f6d814bdb32453cae84f03f8bf88b /nvim/lua/plugins/theme.lua
parentПоправил тему zsh (diff)
downloaddotfiles-e9a2f811b7d030cb8701bd8459fd5c842a521eff.tar.gz
dotfiles-e9a2f811b7d030cb8701bd8459fd5c842a521eff.tar.bz2
dotfiles-e9a2f811b7d030cb8701bd8459fd5c842a521eff.tar.xz
dotfiles-e9a2f811b7d030cb8701bd8459fd5c842a521eff.zip
Правки nvim конфига
Diffstat (limited to 'nvim/lua/plugins/theme.lua')
-rw-r--r--nvim/lua/plugins/theme.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/nvim/lua/plugins/theme.lua b/nvim/lua/plugins/theme.lua
new file mode 100644
index 0000000..72a6f81
--- /dev/null
+++ b/nvim/lua/plugins/theme.lua
@@ -0,0 +1,21 @@
+return {
+ "navarasu/onedark.nvim",
+ priority = 1000, -- make sure to load this before all the other start plugins
+ config = function()
+ require("onedark").setup({
+ style = "darker",
+ colors = {
+ bright_orange = "#ff8800", -- define a new color
+ },
+ highlights = {
+ -- ["@lsp.type.keyword"] = { fg = "$green", fmt = "bold,underline" },
+ -- ["@lsp.type.property"] = { fg = "$bright_orange", bg = "#00ff00", fmt = "bold" },
+ -- ["@lsp.type.function"] = { fg = "#0000ff", sp = "$cyan", fmt = "underline,italic" },
+ -- ["@lsp.type.method"] = { link = "@function" },
+ -- To add language specific config
+ -- ["@lsp.type.variable.go"] = { fg = "none" },
+ },
+ })
+ require("onedark").load()
+ end,
+}