From 21265ba643f1c12ad40e5195de8a3a97682adbde Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Tue, 24 Sep 2024 09:50:16 +0530 Subject: Too many changes to count. --- nvim/plugins/base16.lua | 6 ++++++ nvim/plugins/base16.nix | 11 ----------- nvim/plugins/treesitter.nix | 13 +++++++++++++ 3 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 nvim/plugins/base16.lua delete mode 100644 nvim/plugins/base16.nix create mode 100644 nvim/plugins/treesitter.nix (limited to 'nvim/plugins') 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"); +'' -- cgit v1.2.3