1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-31 15:03:37 +00:00
.dotfiles/nixos/home/neovim.nix

25 lines
556 B
Nix
Raw Normal View History

2024-12-20 03:52:48 +00:00
{ pkgs, ... }: {
programs.neovim = {
enable = true;
defaultEditor = true;
vimAlias = true;
plugins = with pkgs.vimPlugins; [
2024-12-20 19:37:27 +00:00
cmp_luasnip
luasnip
nvim-cmp
nvim-lspconfig
2024-12-20 03:52:48 +00:00
vim-just
vim-sleuth
vim-wakatime
];
extraLuaConfig = ''
2024-12-20 19:46:57 +00:00
require("./lsp.lua")
2024-12-20 19:37:27 +00:00
2024-12-20 03:52:48 +00:00
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
'';
};
}