Skip to content

Commit

Permalink
Read keywords from all open buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed May 18, 2024
1 parent 6bfd1f9 commit f2d6a54
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion home/nixvim/completion.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ in {
sources = [
{name = "nvim_lsp";}
{name = "path";}
{name = "buffer";}
{
name = "buffer";
# Words from other open buffers can also be suggested.
option.get_bufnrs.__raw = "vim.api.nvim_list_bufs";
}
{name = "luasnip";}
];
mapping = {
Expand Down

0 comments on commit f2d6a54

Please sign in to comment.