added a few more plugins, got cmp+luasnip working.
LSP is the last major milestone now.
This commit is contained in:
parent
030822d6c1
commit
25b2b07a46
16 changed files with 490 additions and 159 deletions
11
nix/nvim/lsp/lsp.nix
Normal file
11
nix/nvim/lsp/lsp.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
configs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.nixvim = {
|
||||
};
|
||||
imports = [
|
||||
# ./outline.nix
|
||||
];
|
||||
}
|
22
nix/nvim/lsp/outline.nix
Normal file
22
nix/nvim/lsp/outline.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
configs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.nixvim = {
|
||||
keymaps = [
|
||||
{
|
||||
action = ":Outline<CR>";
|
||||
key = "<leader>o";
|
||||
mode = "n";
|
||||
options = {
|
||||
silent = true;
|
||||
desc = "toggle outline";
|
||||
};
|
||||
}
|
||||
];
|
||||
extraPlugins = [
|
||||
pkgs.vimPlugins.outline-nvim
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue