feat: add autocomplete to nvf
This commit is contained in:
parent
b0b503da2a
commit
fdffc8d4e0
3 changed files with 22 additions and 7 deletions
|
@ -1,13 +1,13 @@
|
|||
{ inputs, ... }: {
|
||||
imports = [
|
||||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.nvf.homeManagerModules.default
|
||||
./nvf/blink-cmp.nix
|
||||
./nvf/conform-nvim.nix
|
||||
./nvf/languages/nix.nix
|
||||
./nvf/lualine.nix
|
||||
./nvf/noice.nix
|
||||
./nvf/nvim-tree.nix
|
||||
./nvf/languages/nix.nix
|
||||
./nvf/conform-nvim.nix
|
||||
];
|
||||
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
|
||||
|
|
16
users/modules/programs/nvf/blink-cmp.nix
Normal file
16
users/modules/programs/nvf/blink-cmp.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
programs.nvf.settings.vim.autocomplete.blink-cmp = {
|
||||
enable = true;
|
||||
friendly-snippets.enable = true; # code snippets
|
||||
setupOpts = {
|
||||
completion = {
|
||||
documentation.auto_show_delay_ms = 0;
|
||||
};
|
||||
};
|
||||
sourcePlugins = {
|
||||
emoji.enable = true;
|
||||
ripgrep.enable = true;
|
||||
spell.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,8 +1,7 @@
|
|||
{ inputs, ... }: {
|
||||
{
|
||||
programs.nvf.settings.vim.languages.nix = {
|
||||
enable = true;
|
||||
lsp = {
|
||||
# package = inputs.nixd.packages.default;
|
||||
server = "nixd";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue