summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Taylor <jtaylor@classicalconversations.com>2023-09-05 10:09:35 -0400
committerJackson Taylor <jtaylor@classicalconversations.com>2023-09-05 10:09:35 -0400
commit771bfdcd3f93e410bda1d5bf621076e78f6bced8 (patch)
treed504316e8851d39778cab8a9416274618db3db99
parent3fc13f9489fbfe605367992a8da75b3dd90733b7 (diff)
Replace deprecated parentheses color plugin
The old plugin was causing issues with treesitter and tsx files. Syntax highlighting wouldn't work by default, so you had to turn it on for every tsx buffer. This seems to have fixed it.
-rw-r--r--lua/jacksontaylorxyz/packer.lua21
1 files changed, 4 insertions, 17 deletions
diff --git a/lua/jacksontaylorxyz/packer.lua b/lua/jacksontaylorxyz/packer.lua
index 895c764..eb54bc6 100644
--- a/lua/jacksontaylorxyz/packer.lua
+++ b/lua/jacksontaylorxyz/packer.lua
@@ -32,8 +32,9 @@ return require('packer').startup(function(use)
end
}
use "junegunn/goyo.vim" -- "Zen" mode
- use "mattn/calendar-vim" -- Calendar
- use "lukas-reineke/indent-blankline.nvim"
+ use "mattn/calendar-vim" -- Calendar for use with
+ use "lukas-reineke/indent-blankline.nvim" -- Provides whitespace/indent markers
+ use 'HiPhish/rainbow-delimiters.nvim' -- This highlights things like curly braces in different colors so the matching one is seen easier
-- Anything to do with git
use 'tpope/vim-fugitive' -- Git plugin
@@ -86,21 +87,7 @@ return require('packer').startup(function(use)
-- Language supports
use 'SuneelFreimuth/vim-gemtext' -- Syntax support for gemini markdown
use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'}) -- Even better syntax highlighting
- use { -- This highlights things like curly braces in different colors so the matching one is seen easier
- 'mrjones2014/nvim-ts-rainbow',
- config = function()
- require('nvim-treesitter.configs').setup({
- rainbow = {
- enable = true,
- -- disable = { "jsx", "cpp" }, -- list of languages you want to disable the plugin for
- extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean
- max_file_lines = nil, -- Do not enable for files with more than n lines, int
- -- colors = {}, -- table of hex strings
- -- termcolors = {} -- table of colour name strings
- },
- })
- end
- }
+
use { -- A super simple way to setup all the lsp stuff.
'VonHeikemen/lsp-zero.nvim',
branch = 'v1.x',