1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-31 07:03:36 +00:00
.dotfiles/nixos/home/neovim.nix
2024-12-20 14:37:27 -05:00

24 lines
554 B
Nix

{ pkgs, ... }: {
programs.neovim = {
enable = true;
defaultEditor = true;
vimAlias = true;
plugins = with pkgs.vimPlugins; [
cmp_luasnip
luasnip
nvim-cmp
nvim-lspconfig
vim-just
vim-sleuth
vim-wakatime
];
extraLuaConfig = ''
require("lsp.lua")
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
'';
};
}