diff options
| author | Charles Cabergs <charles.cabergs@colruytgroup.com> | 2023-09-27 11:13:36 +0200 |
|---|---|---|
| committer | Charles Cabergs <charles.cabergs@colruytgroup.com> | 2023-09-27 11:13:36 +0200 |
| commit | 4c5f87426b7c361b9f535ba17b5d882f4bf25e4a (patch) | |
| tree | 96846780b58a40d4e2bec9f75ce81f2de123dd8b /config/nvim/lua | |
| parent | 04064d6b964e9bad0b90259f7537bb8570cb214f (diff) | |
| download | dotfiles-4c5f87426b7c361b9f535ba17b5d882f4bf25e4a.tar.gz dotfiles-4c5f87426b7c361b9f535ba17b5d882f4bf25e4a.tar.bz2 dotfiles-4c5f87426b7c361b9f535ba17b5d882f4bf25e4a.zip | |
Added vim-matchup plugin
Diffstat (limited to 'config/nvim/lua')
| -rw-r--r-- | config/nvim/lua/plugins.lua | 30 |
1 files changed, 30 insertions, 0 deletions
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", |
