diff options
Diffstat (limited to 'nvim/plugins')
| -rw-r--r-- | nvim/plugins/base16.nix | 11 | ||||
| -rw-r--r-- | nvim/plugins/lualine.lua (renamed from nvim/plugins/lualine/init.lua) | 5 | ||||
| -rw-r--r-- | nvim/plugins/lualine/default.nix | 6 | ||||
| -rw-r--r-- | nvim/plugins/lualine/theme.nix | 15 | ||||
| -rw-r--r-- | nvim/plugins/nvim-tree.lua | 6 |
5 files changed, 16 insertions, 27 deletions
diff --git a/nvim/plugins/base16.nix b/nvim/plugins/base16.nix new file mode 100644 index 0000000..170b68b --- /dev/null +++ b/nvim/plugins/base16.nix @@ -0,0 +1,11 @@ +config: + +with config.lib.stylix.colors.withHashtag; +'' +require("base16-colorscheme").setup { + base00 = "${base00}", base01 = "${base01}", base02 = "${base02}", base03 = "${base03}", + base04 = "${base04}", base05 = "${base05}", base06 = "${base06}", base07 = "${base07}", + base08 = "${base08}", base09 = "${base09}", base0A = "${base0A}", base0B = "${base0B}", + base0C = "${base0C}", base0D = "${base0D}", base0E = "${base0E}", base0F = "${base0F}", +}; +'' diff --git a/nvim/plugins/lualine/init.lua b/nvim/plugins/lualine.lua index 36acda4..ba2eda6 100644 --- a/nvim/plugins/lualine/init.lua +++ b/nvim/plugins/lualine.lua @@ -1,6 +1,5 @@ require("lualine").setup { options = { globalstatus = true, - theme = theme - } -} + }, +}; diff --git a/nvim/plugins/lualine/default.nix b/nvim/plugins/lualine/default.nix deleted file mode 100644 index b6be39e..0000000 --- a/nvim/plugins/lualine/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -config: - -'' -${import ./theme.nix config} -${builtins.readFile ./init.lua} -'' diff --git a/nvim/plugins/lualine/theme.nix b/nvim/plugins/lualine/theme.nix deleted file mode 100644 index 26c420e..0000000 --- a/nvim/plugins/lualine/theme.nix +++ /dev/null @@ -1,15 +0,0 @@ -config: - -with config.lib.stylix.colors.withHashtag; -'' -local theme = { - normal = { - a = { fg = "${base07}", bg = "${base0D}", gui = "bold" }, - b = { fg = "${base05}", bg = "${base01}" }, - c = { fg = "${base03}", bg = "${base00}" }, - }, - insert = { a = { fg = "${base07}", bg = "${base0B}", gui = "bold" } }, - visual = { a = { fg = "${base07}", bg = "${base0C}", gui = "bold" } }, - replace = { a = { fg = "${base07}", bg = "${base08}", gui = "bold" } }, - command = { a = { fg = "${base07}", bg = "${base0A}", gui = "bold" } }, -}'' diff --git a/nvim/plugins/nvim-tree.lua b/nvim/plugins/nvim-tree.lua index 1aa2e6e..c6c4102 100644 --- a/nvim/plugins/nvim-tree.lua +++ b/nvim/plugins/nvim-tree.lua @@ -8,6 +8,6 @@ require("nvim-tree").setup { }, root_folder_label = function(path) return vim.fn.fnamemodify(path, ":t") - end - } -} + end, + }, +}; |
