Skip to content

Commit

Permalink
fix: Try to get avante working
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Aug 27, 2024
1 parent 7fcc744 commit 80b2bb6
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions modules/editors/vim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,17 @@ in
clipboard.register = "unnamedplus";
vimAlias = true;
editorconfig.enable = true;
globals.mapleader = "<Space>";
globals.mapleader = "<space>";
# filetype = { "markdown", "Avante" };
opts = {
# Avante
laststatus = 3;
splitkeep = "screen";
};
plugins = {
copilot-chat.enable = true;
copilot-lua.enable = true;
direnv.enable = true;
dressing.enable = true;
harpoon.enable = true;
harpoon.enableTelescope = true;
Expand Down Expand Up @@ -87,10 +93,14 @@ in
vimPlugins.nvim-web-devicons
vimPlugins.plenary-nvim
vimPlugins.nui-nvim
unstable.vimPlugins.render-markdown
{
plugin = unstable.vimPlugins.render-markdown;
# config = ''
# require('render-markdown').setup({file_types = { 'markdown', 'vimwiki' },})
# '';
}
# end avante
];
# TODO extraPlugins.render-markdown.config = "require('render-markdown').setup({file_types = { 'markdown', 'vimwiki' },})";
};
# env.VIMINIT = "let \\$MYVIMRC='\\$XDG_CONFIG_HOME/nvim/init.vim' | source \\$MYVIMRC";

Expand Down

0 comments on commit 80b2bb6

Please sign in to comment.