aboutsummaryrefslogtreecommitdiffstats
path: root/home-manager/soispha/config/neovim/nixneovim/lua
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-03 21:34:16 +0200
committerSoispha <soispha@vhack.eu>2023-08-19 17:34:47 +0200
commitbe1cc38bdb83e6716b08d24cc1201fffc6649311 (patch)
treec3691569e0e8858b672b501096b6cb5edd39daf6 /home-manager/soispha/config/neovim/nixneovim/lua
parentFeat(treewide): Import nixVim (diff)
downloadnixos-config-be1cc38bdb83e6716b08d24cc1201fffc6649311.zip
Feat(hm/conf/nvim): Add basic nix config [REBASE TARGET]
Diffstat (limited to 'home-manager/soispha/config/neovim/nixneovim/lua')
-rw-r--r--home-manager/soispha/config/neovim/nixneovim/lua/nightfox.lua53
1 files changed, 53 insertions, 0 deletions
diff --git a/home-manager/soispha/config/neovim/nixneovim/lua/nightfox.lua b/home-manager/soispha/config/neovim/nixneovim/lua/nightfox.lua
new file mode 100644
index 00000000..1ca4f743
--- /dev/null
+++ b/home-manager/soispha/config/neovim/nixneovim/lua/nightfox.lua
@@ -0,0 +1,53 @@
+-- Default options
+require('nightfox').setup({
+ options = {
+ -- Compiled file's destination location
+ compile_path = vim.fn.stdpath("cache") .. "/nightfox",
+ compile_file_suffix = "_compiled", -- Compiled file suffix
+ transparent = true, -- Disable setting background
+ terminal_colors = true, -- Set terminal colors (vim.g.terminal_color_*) used in `:terminal`
+ dim_inactive = true, -- Non focused panes set to alternative background
+ module_default = true, -- Default enable value for modules
+ colorblind = {
+ enable = true, -- Enable colorblind support
+ simulate_only = false, -- Only show simulated colorblind colors and not diff shifted
+ severity = {
+ protan = 0.3, -- Severity [0,1] for protan (red)
+ deutan = 0.9, -- Severity [0,1] for deutan (green)
+ tritan = 0, -- Severity [0,1] for tritan (blue)
+ },
+ },
+ styles = { -- Style to be applied to different syntax groups
+ comments = "italic", -- Value is any valid attr-list value `:help attr-list`
+ conditionals = "NONE",
+ constants = "NONE",
+ functions = "bold",
+ keywords = "bold",
+ numbers = "NONE",
+ operators = "NONE",
+ strings = "NONE",
+ types = "NONE",
+ variables = "NONE",
+ },
+ inverse = { -- Inverse highlight for different types
+ match_paren = false,
+ visual = false,
+ search = false,
+ },
+ modules = { -- List of various plugins and additional options
+ diagnostic = {
+ enable = true,
+ background = false,
+ },
+ native_lsp = {
+ enable = true,
+ background = false,
+ },
+ },
+ },
+ palettes = {},
+ specs = {},
+ groups = {},
+})
+
+vim.cmd.colorscheme("duskfox");