mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 00:45:17 -06:00
20 lines
505 B
Lua
20 lines
505 B
Lua
if vim.g.did_load_plugins_plugin then
|
|
return
|
|
end
|
|
vim.g.did_load_plugins_plugin = true
|
|
|
|
-- many plugins annoyingly require a call to a 'setup' function to be loaded,
|
|
-- even with default configs
|
|
|
|
require("neogen").setup{}
|
|
vim.keymap.set("n","<leader>nd", "<cmd>Neogen<CR>", {noremap = true, silent = true, desc = "Neogen - gen comments"})
|
|
|
|
require("toggleterm").setup{
|
|
open_mapping = [[<C-\>]],
|
|
direction = "float",
|
|
close_on_exit = true,
|
|
}
|
|
|
|
require('which-key').setup {
|
|
preset = 'helix'
|
|
}
|