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" }