From 4c5f87426b7c361b9f535ba17b5d882f4bf25e4a Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 27 Sep 2023 11:13:36 +0200 Subject: Added vim-matchup plugin --- config/nvim/lua/plugins.lua | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'config') diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index 03659d7..998de38 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -14,6 +14,13 @@ return require("packer").startup(function() -- end -- } + use { + 'andymass/vim-matchup', + setup = function() + vim.g.matchup_matchparen_offscreen = { method = "popup" } + end + } + -- Put arguments on multiple lines use { "FooSoft/vim-argwrap", @@ -325,6 +332,22 @@ return require("packer").startup(function() -- end -- } + -- tokyonight color scheme + -- use { + -- "folke/tokyonight.nvim", + -- config = function() + -- vim.opt.termguicolors = true + -- vim.opt.background = "dark" + -- vim.cmd [[ colorscheme tokyonight-moon ]] + -- require("tokyonight").setup({ + -- styles = { + -- comments = { italic = true }, + -- keywords = { italic = true }, + -- }, + -- }) + -- end + -- } + -- status line use { "nvim-lualine/lualine.nvim", @@ -332,6 +355,7 @@ return require("packer").startup(function() config = function() require("lualine").setup { options = { + -- theme = "tokyonight", theme = "gruvbox", -- theme = "nord", icons_enabled = true, @@ -371,6 +395,11 @@ return require("packer").startup(function() highlight = { enable = true }, + matchup = { + enable = true, -- mandatory, false will disable the whole extension + -- disable = { "c", "ruby" }, -- optional, list of language that will be disabled + -- [options] + }, -- indent = { enable = true }, -- TODO: could be neat -- incremental_selection = { @@ -393,6 +422,7 @@ return require("packer").startup(function() requires = { {"nvim-lua/plenary.nvim"}, {"kyazdani42/nvim-web-devicons"}, + {"nvim-telescope/telescope-symbols.nvim"}, { "nvim-telescope/telescope-fzf-native.nvim", run = "make", -- cgit