Skip to content

Commit

Permalink
feat(nvim): add repl for neovim
Browse files Browse the repository at this point in the history
  • Loading branch information
r17x committed Nov 3, 2024
1 parent 0572909 commit 050f7b4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nvim.nix/config/lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
extraPlugins = with pkgs.vimPlugins; [
telescope-manix
vim-rescript
neorepl-nvim
];

# make custom command
Expand Down Expand Up @@ -43,11 +44,15 @@
plugins.telescope.keymaps.fN.action = "manix";

plugins.which-key.settings.spec = [
{
__unkeyed-1 = "<leader>r";
__unkeyed-2 = "<cmd>Repl<cr>";
desc = "Open Repl";
}
{
__unkeyed-1 = "//";
__unkeyed-2 = "<cmd>nohlsearch<cr>";
desc = "Clear search highlight";

}
{
__unkeyed-1 = "<leader><space>";
Expand Down

0 comments on commit 050f7b4

Please sign in to comment.