diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-25 23:51:51 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-25 23:51:51 +0530 |
| commit | 86aaaabfd153a1710b6773f17925d2e5191bf522 (patch) | |
| tree | db9baa777a98f6b66c1483ba9664bc62fc8bd007 /modules/tools/editor/neovim | |
| parent | 478081af928e1557b325f4a4cbd5b67f079660d2 (diff) | |
| download | home-manager-config-86aaaabfd153a1710b6773f17925d2e5191bf522.tar.gz home-manager-config-86aaaabfd153a1710b6773f17925d2e5191bf522.zip | |
Changed polybar bspwm workspace tab config.
Diffstat (limited to 'modules/tools/editor/neovim')
| -rw-r--r-- | modules/tools/editor/neovim/plugins/base16.lua | 6 | ||||
| -rw-r--r-- | modules/tools/editor/neovim/plugins/base16.mustache.lua | 12 | ||||
| -rw-r--r-- | modules/tools/editor/neovim/plugins/default.nix | 4 |
3 files changed, 15 insertions, 7 deletions
diff --git a/modules/tools/editor/neovim/plugins/base16.lua b/modules/tools/editor/neovim/plugins/base16.lua deleted file mode 100644 index 9843b76..0000000 --- a/modules/tools/editor/neovim/plugins/base16.lua +++ /dev/null @@ -1,6 +0,0 @@ -vim.o.termguicolors = true; -vim.opt.termguicolors = true; -vim.o.background = "dark"; -vim.g.base16colorspace = 256 -vim.cmd.colorscheme("base16-scheme"); -vim.api.nvim_set_hl(0, "LineNr", { link = "Normal" }); -- disable the background of line numbers diff --git a/modules/tools/editor/neovim/plugins/base16.mustache.lua b/modules/tools/editor/neovim/plugins/base16.mustache.lua new file mode 100644 index 0000000..3c13fcc --- /dev/null +++ b/modules/tools/editor/neovim/plugins/base16.mustache.lua @@ -0,0 +1,12 @@ +vim.o.termguicolors = true; +vim.opt.termguicolors = true; +vim.o.background = "dark"; +vim.g.base16colorspace = 256 +vim.cmd.colorscheme("base16-scheme"); + +-- Overrides +-- disable the background of line numbers +vim.api.nvim_set_hl(0, "LineNr", { link = "Normal" }); + +-- change the color of the pane separator +vim.api.nvim_set_hl(0, "WinSeparator", { fg = "#{{base02-hex}}", bg = "None" }); diff --git a/modules/tools/editor/neovim/plugins/default.nix b/modules/tools/editor/neovim/plugins/default.nix index 2df4e4a..ace5379 100644 --- a/modules/tools/editor/neovim/plugins/default.nix +++ b/modules/tools/editor/neovim/plugins/default.nix @@ -4,6 +4,8 @@ ${builtins.readFile ./comment.lua} ${builtins.readFile ./lualine.lua} ${import ./treesitter.nix { inherit config; }} -${builtins.readFile ./base16.lua} +${builtins.readFile (config.scheme { + template = builtins.readFile ./base16.mustache.lua; +})} ${builtins.readFile ./nvim-tree.lua} '' |
