mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-01-31 07:03:36 +00:00
24 lines
554 B
Nix
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
|
|
'';
|
|
};
|
|
}
|