Set nvim config fully within nvim submodule

This commit is contained in:
Evie Litherland-Smith 2023-06-04 10:45:20 +01:00
parent 91e5629a83
commit 80aaec012e
3 changed files with 1 additions and 38 deletions

View file

@ -1,36 +0,0 @@
require "common"
require("lazy").setup {
spec = "plugins",
install = { colorscheme = { "tokyonight" } },
ui = {
border = "rounded",
icons = { lazy = " " },
},
diff = { cmd = "diffview.nvim" },
checker = { enabled = true, frequency = 3600 },
performance = {
rtp = {
disabled_plugins = {
"gzip",
"matchit",
"matchparen",
"netrwPlugin",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
}
require "ui.fillchars"
vim.g.loaded_perl_provider = 0
if vim.g.neovide then
require "ui.neovide"
elseif vim.g.vscode then
require "ui.vscode"
end
vim.cmd [[colorscheme tokyonight]]

View file

@ -1,7 +1,6 @@
{pkgs, ...}: {
programs.neovim = {
enable = true;
extraLuaConfig = builtins.readFile ./config/nvim/init.lua;
defaultEditor = true;
viAlias = true;
vimAlias = true;

2
nvim

@ -1 +1 @@
Subproject commit 1fca774106e7d361ec797dedb10562fa619924bf
Subproject commit 2dd9913802b80890673f7a9f864a5cf55b311c35