Skip to content

Commit

Permalink
feat: follow the config stream
Browse files Browse the repository at this point in the history
  • Loading branch information
iguntur committed Feb 24, 2025
1 parent 3867e9f commit 1fe6382
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions config/editor/cmp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@

snippets.preset = lib.optionals config.plugins.luasnip.enable "luasnip";

sources = rec {
cmdline.__raw = ''
cmdline = {
enabled = true;
sources.__raw = ''
function()
local type = vim.fn.getcmdtype()
Expand All @@ -83,6 +84,9 @@
return {}
end
'';
};

sources = rec {
default = [ "lsp" "path" "snippets" "buffer" ] # built-in
# community
++ lib.optionals config.plugins.blink-emoji.enable [ "emoji" ]
Expand Down

0 comments on commit 1fe6382

Please sign in to comment.