Skip to content

Commit b663c12

Browse files
nvim(cmp): add calc
1 parent 8e907f7 commit b663c12

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

modules/nvim/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ config, lib, pkgs, home-manager, ... }:
1+
{ config, lib, pkgs, ... }:
22

33
let
44
cfg = config.conf.nvim;
@@ -99,6 +99,7 @@ let
9999
harpoon
100100
oil-nvim
101101
markdown-preview-nvim
102+
cmp-calc
102103
];
103104
in
104105
{

modules/nvim/lua/minizilla/misc.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,9 @@ require('oil').setup {
3333
}
3434
}
3535
nmap('<Leader>fb', '<Cmd>Oil<CR>')
36+
37+
require('cmp').setup {
38+
sources = {
39+
{ name = 'calc' }
40+
}
41+
}

0 commit comments

Comments
 (0)