From 67be49cbfe171b6232808c58db570bbe6364d1b1 Mon Sep 17 00:00:00 2001 From: ch1bs Date: Wed, 25 Sep 2024 13:57:02 +0300 Subject: [PATCH] added toggleterm --- init.lua | 13 +++++++------ lua/custom/plugins/toggleterm.lua | 7 +++++++ lua/custom/plugins/transparent.lua | 1 + 3 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 lua/custom/plugins/toggleterm.lua create mode 100644 lua/custom/plugins/transparent.lua diff --git a/init.lua b/init.lua index 042de7cb..4214ca39 100644 --- a/init.lua +++ b/init.lua @@ -280,13 +280,12 @@ require('lazy').setup({ -- after the plugin has been loaded: -- config = function() ... end - { -- Useful plugin to show you pending keybinds. + { -- Useful plugin to show you pending keybinds. 'folke/which-key.nvim', - event = 'VimEnter', -- Sets the loading event to 'VimEnter' - config = function() -- This is the function that runs, AFTER loading - require('which-key').setup() - - -- Document existing key chains + version = "2.1.0", + event = 'VimEnter', -- Sets the loading event to 'VimEnter' + config = function() -- This is the function that runs, AFTER loading + require('which-key').setup() -- Document existing key chains require('which-key').register { ['c'] = { name = '[C]ode', _ = 'which_key_ignore' }, ['d'] = { name = '[D]ocument', _ = 'which_key_ignore' }, @@ -649,6 +648,7 @@ require('lazy').setup({ { -- Autoformat 'stevearc/conform.nvim', + version = "7.1.0", lazy = false, keys = { { @@ -934,3 +934,4 @@ require('lazy').setup({ -- The line beneath this is called `modeline`. See `:help modeline` -- vim: ts=2 sts=2 sw=2 et +require('lspconfig').svelte.setup { filetypes = { "svelte", "html" } } diff --git a/lua/custom/plugins/toggleterm.lua b/lua/custom/plugins/toggleterm.lua new file mode 100644 index 00000000..779fb577 --- /dev/null +++ b/lua/custom/plugins/toggleterm.lua @@ -0,0 +1,7 @@ +return { + 'akinsho/toggleterm.nvim', + version = "*", + config=true, + keys = { {'t', ":ToggleTerm size=15"},} +} + diff --git a/lua/custom/plugins/transparent.lua b/lua/custom/plugins/transparent.lua new file mode 100644 index 00000000..4d5b87b3 --- /dev/null +++ b/lua/custom/plugins/transparent.lua @@ -0,0 +1 @@ +return { "xiyaowong/transparent.nvim" }