added zapret.nix

This commit is contained in:
2025-06-08 10:36:13 +03:00
parent f3150a6c99
commit 72f0c6057c
8 changed files with 43 additions and 39 deletions
+1
View File
@@ -73,6 +73,7 @@ in
nil
obs-studio
nicotine-plus
qbittorrent
];
xdg.enable = true;
+14 -1
View File
@@ -19,8 +19,12 @@ programs.neovim = {
mini-nvim
nvim-tree-lua
nvim-lspconfig
coq_nvim
vim-nix
cmp-nvim-lsp
cmp-buffer
cmp-path
cmp-cmdline
nvim-cmp
];
extraLuaConfig = ''
local function my_on_attach(bufnr)
@@ -55,6 +59,15 @@ programs.neovim = {
}
vim.lsp.enable('pyright')
vim.lsp.enable('nil_ls')
local cmp = require 'cmp'
cmp.setup({
snippet = {
expand = function(args)
vim.fn["vsnip#anonymous"](args.body)
end,
},
})
'';
};