From d6565761ab19088775b5eea90738ce51fccb7b58 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Thu, 27 Apr 2023 15:27:17 +0300 Subject: [PATCH] Chore: Codestyle changes, split lines that went over limit --- config/astronvim/lua/user/plugins/community.lua | 5 +++-- config/astronvim/lua/user/plugins/core.lua | 14 +++++++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/config/astronvim/lua/user/plugins/community.lua b/config/astronvim/lua/user/plugins/community.lua index 16573f7..1d5e734 100644 --- a/config/astronvim/lua/user/plugins/community.lua +++ b/config/astronvim/lua/user/plugins/community.lua @@ -1,6 +1,7 @@ -return { -- Add the community repository of plugin specifications +return { -- Add the community repository of plugin specifications "AstroNvim/astrocommunity", -- example of imporing a plugin, comment out to use it or add your own - -- available plugins can be found at https://github.com/AstroNvim/astrocommunity + -- available plugins can be found at + -- https://github.com/AstroNvim/astrocommunity { import = "astrocommunity.colorscheme.catppuccin", opts = { diff --git a/config/astronvim/lua/user/plugins/core.lua b/config/astronvim/lua/user/plugins/core.lua index a795dd7..25bfd07 100644 --- a/config/astronvim/lua/user/plugins/core.lua +++ b/config/astronvim/lua/user/plugins/core.lua @@ -23,12 +23,15 @@ return { -- You can disable default plugins as follows: -- { "max397574/better-escape.nvim", enabled = false }, -- - -- You can also easily customize additional setup of plugins that is outside of the plugin's setup call + -- You can also easily customize additional setup of plugins + -- that is outside of the plugin's setup call { "L3MON4D3/LuaSnip", config = function(plugin, opts) - require "plugins.configs.luasnip"(plugin, opts) -- include the default astronvim config that calls the setup call - -- add more custom luasnip configuration such as filetype extend or custom snippets + -- include the default astronvim config that calls the setup call + require "plugins.configs.luasnip" (plugin, opts) + -- add more custom luasnip configuration such + -- as filetype extend or custom snippets local luasnip = require "luasnip" luasnip.filetype_extend("javascript", { "javascriptreact" }) end, @@ -63,12 +66,13 @@ return { -- ) -- end, -- }, - -- By adding to the which-key config and using our helper function you can add more which-key registered bindings + -- By adding to the which-key config and using our helper + -- function you can add more which-key registered bindings { "folke/which-key.nvim", config = function(plugin, opts) -- include the default astronvim config that calls the setup call - require "plugins.configs.which-key"(plugin, opts) + require "plugins.configs.which-key" (plugin, opts) -- Add bindings which show up as group name local wk = require "which-key" wk.register({