Skip to content

Commit

Permalink
Configure nvim onedark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Nov 9, 2024
1 parent db80331 commit 45df861
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions home/users/christian/vim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,39 @@ in
set thesaurus+=~/.local/share/nvim/site/dict/mthesaur.txt
'';

extraLuaConfig = ''
-------------------
-- ONEDARK THEME --
-------------------
require("onedarkpro").setup({
styles = {
types = "NONE",
methods = "NONE",
numbers = "NONE",
strings = "NONE",
comments = "italic",
keywords = "bold,italic",
constants = "NONE",
functions = "italic",
operators = "NONE",
variables = "NONE",
parameters = "NONE",
conditionals = "italic",
virtual_text = "NONE",
},
options = {
cursorline = true,
transparency = true
}
})
vim.cmd("colorscheme onedark")
'';

plugins = with pkgs.vimPlugins; [
vim-nix
onedarkpro-nvim

# Markdown
tabular
Expand Down

0 comments on commit 45df861

Please sign in to comment.