diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-24 09:50:16 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-24 09:50:16 +0530 |
| commit | 21265ba643f1c12ad40e5195de8a3a97682adbde (patch) | |
| tree | 9a73872c8add9bf82a7e20ccac436bcc965a69c5 /nvim/plugins | |
| parent | 275903e8ecc9161c6c690a83ca5b1eb7b67899a4 (diff) | |
| download | home-manager-config-21265ba643f1c12ad40e5195de8a3a97682adbde.tar.gz home-manager-config-21265ba643f1c12ad40e5195de8a3a97682adbde.zip | |
Too many changes to count.
Diffstat (limited to 'nvim/plugins')
| -rw-r--r-- | nvim/plugins/base16.lua | 6 | ||||
| -rw-r--r-- | nvim/plugins/base16.nix | 11 | ||||
| -rw-r--r-- | nvim/plugins/treesitter.nix | 13 |
3 files changed, 19 insertions, 11 deletions
diff --git a/nvim/plugins/base16.lua b/nvim/plugins/base16.lua new file mode 100644 index 0000000..9843b76 --- /dev/null +++ b/nvim/plugins/base16.lua @@ -0,0 +1,6 @@ +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/nvim/plugins/base16.nix b/nvim/plugins/base16.nix deleted file mode 100644 index 170b68b..0000000 --- a/nvim/plugins/base16.nix +++ /dev/null @@ -1,11 +0,0 @@ -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/treesitter.nix b/nvim/plugins/treesitter.nix new file mode 100644 index 0000000..05f1f2a --- /dev/null +++ b/nvim/plugins/treesitter.nix @@ -0,0 +1,13 @@ +config: + +'' +require("nvim-treesitter.configs").setup { + auto_install = true, + highlight = { + enable = true, + }, + parser_install_dir = "${config.xdg.dataHome}/nvim", +}; + +vim.opt.runtimepath:append("${config.xdg.dataHome}/nvim"); +'' |
