mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-05-03 04:03:08 +00:00
~
This commit is contained in:
parent
573bf2337f
commit
25f2cc1a6e
4 changed files with 103 additions and 96 deletions
18
nixos/home/neovim.nix
Normal file
18
nixos/home/neovim.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
vimAlias = true;
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
vim-just
|
||||
vim-sleuth
|
||||
vim-wakatime
|
||||
];
|
||||
extraLuaConfig = ''
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue