initial home-manager setup with neovim and starship
This commit is contained in:
parent
9a45f4f10a
commit
71c45e8397
6 changed files with 235 additions and 0 deletions
41
neovim/default.nix
Normal file
41
neovim/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{config, pkgs, ...}:
|
||||
{
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
coc = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"zig.enabled" = true;
|
||||
"zig.startUpMessage" = true;
|
||||
"zig.path" = "${pkgs.zls}/bin/zls";
|
||||
"zig.debugLog" = false;
|
||||
};
|
||||
};
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
oil-nvim
|
||||
nvim-colorizer-lua
|
||||
nvim-treesitter
|
||||
mini-nvim
|
||||
plenary-nvim
|
||||
telescope-nvim
|
||||
gitsigns-nvim
|
||||
vim-airline
|
||||
nvim-web-devicons
|
||||
vim-startify
|
||||
nvim-lspconfig
|
||||
everforest
|
||||
tokyonight-nvim
|
||||
];
|
||||
extraLuaConfig = with builtins; (
|
||||
concatStringsSep "\n" (
|
||||
map readFile [
|
||||
./init.lua
|
||||
./coc.part.lua
|
||||
])
|
||||
);
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue