774 B
774 B
Neovim Settings
Create a simple Neovim configuration.
{ config, pkgs, ... }:
{
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
plugins = with pkgs.vimPlugins; [
vim-trailing-whitespace
lightline-vim
delimitMate
];
extraLuaConfig = ''
vim.opt.tabstop = 4
vim.opt.expandtab = true
vim.opt.shiftwidth = 4
vim.opt.autoindent = true
vim.opt.wildmode = 'longest,list'
vim.opt.number = true
vim.g.background = light
vim.cmd [[colorscheme default]]
vim.cmd [[set notermguicolors]]
'';
};
}