feat(nvf): add some plugins
This commit is contained in:
parent
90d10606bc
commit
0779eba4cc
4 changed files with 26 additions and 0 deletions
6
modules/home/cli/editor/nvf/autocomplete.nix
Normal file
6
modules/home/cli/editor/nvf/autocomplete.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
blink-cmp = {
|
||||
enable = true;
|
||||
setupOpts.signature.enabled = true;
|
||||
};
|
||||
}
|
|
@ -6,6 +6,9 @@
|
|||
enable = true;
|
||||
settings.vim = {
|
||||
keymaps = import ./keymaps.nix;
|
||||
lsp = import ./lsp.nix;
|
||||
languages = import ./languages.nix;
|
||||
autocomplete = import ./autocomplete.nix;
|
||||
utility.yazi-nvim = {
|
||||
enable = true;
|
||||
mappings = {
|
||||
|
|
8
modules/home/cli/editor/nvf/languages.nix
Normal file
8
modules/home/cli/editor/nvf/languages.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
enableExtraDiagnostics = true;
|
||||
enableFormat = true;
|
||||
enableTreesitter = true;
|
||||
nix.enable = true;
|
||||
nix.format.type = "nixfmt";
|
||||
nix.lsp.server = "nixd";
|
||||
}
|
9
modules/home/cli/editor/nvf/lsp.nix
Normal file
9
modules/home/cli/editor/nvf/lsp.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
enable = true;
|
||||
formatOnSave = true;
|
||||
inlayHints.enable = true;
|
||||
lightbulb.enable = true;
|
||||
lspkind.enable = true;
|
||||
null-ls.enable = true;
|
||||
otter-nvim.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue