minor fixes

This commit is contained in:
Vivian 2023-03-21 11:27:01 +01:00
parent 72e1086d91
commit 7dc194f9e5
3 changed files with 7 additions and 8 deletions

View file

@ -53,7 +53,7 @@
lspkind.enable = true;
nvim-cmp = {
enable = true;
auto_enable_sources = true;
autoEnableSources = true;
sources = [
{ name = "nvim_lsp"; }
{ name = "cmp-latex-symbols"; }
@ -66,11 +66,7 @@
{ name = "path"; }
{ name = "buffer"; }
];
snippet.expand = ''
function(args)
require('luasnip').lsp_expand(args.body) -- For `luasnip` users.
end
'';
snippet.expand = "luasnip";
mappingPresets = [ "insert" "cmdline" ];
mapping = {
"<CR>" = "cmp.mapping.confirm({ select = true })";

View file

@ -1,5 +1,5 @@
_: {
networking.networkmanager.enable = true;
networking.firewall.checkReversePath = false;
# networking.firewall.enable = false;
}
networking.firewall.enable = false;
}