about summary refs log tree commit diff stats
path: root/home-manager/soispha/config/neovim/nixneovim/lua/nightfox.lua
blob: 1ca4f7433facc593d42eb869ce9a1cf72e544544 (plain) (blame)
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
45
46
47
48
49
50
51
52
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");